Skip to content

Commit 1f87d9f

Browse files
committed
add 32 bit check for vara
1 parent f00fc98 commit 1f87d9f

File tree

1 file changed

+12
-1
lines changed

1 file changed

+12
-1
lines changed

update

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -306,7 +306,7 @@ yad --center --list --checklist --width=600 --height=600 --separator="" \
306306
false "GPSUPDATE" "${GPSUPDATE}" "Tool to Manage GPS Devices" \
307307
false "ARDOP" "$ARDOP" "Mode for HF" \
308308
false "ARDOPGUI" "$ARDOPGUI" "GUI for ARDOP" \
309-
false "VARA" "$VARA" "VARA Modem" \
309+
false "VARA" "$VARA" "VARA Modem - <b>Pi 4 32bit ONLY</b>" \
310310
false "DIREWOLF" "$DIRE" "Software TNC" \
311311
false "AX25" "$AX25" "Data Link Layer Protocol" \
312312
false "PULSE" "$PULSE" "Sound server" \
@@ -330,6 +330,17 @@ if [ -n $VARA_CHK ]; then
330330
--button=gtk-ok
331331
sed -i 's/VARA//;/^$/d' ${BASE}
332332
fi
333+
334+
#check if 32 bit system
335+
if [ `getconf LONG_BIT` != 32 ]; then
336+
yad --form --width=500 --text-align=center --center --title="Build-a-Pi" --text-align=center \
337+
--image ${LOGO} --window-icon=${LOGO} --image-on-top --separator="|" --item-separator="|" \
338+
--text="<b>Not Compatible</b>\rAt this time VARA is not compatible with 64bit OS. The devolper is working \
339+
to resolve this issue.\r\rVARA will not be installed during the build." \
340+
--button=gtk-ok
341+
sed -i 's/VARA//;/^$/d' ${BASE}
342+
fi
343+
333344
fi
334345

335346
#############################################################

0 commit comments

Comments
 (0)