No internet menu.

This commit is contained in:
tb14
2025-07-01 01:15:45 -05:00
parent 7aebc32a68
commit 10bd692fdb
+5
View File
@@ -442,6 +442,11 @@ fi
echo -e ${ACTION}Checking internet availability${NOCOLOR}
if ! ping -c 1 google.com > /dev/null 2>&1; then
echo -e ${ERROR}No internet. Skipping version checks.${NOCOLOR}
yad --image=$DIR/images/corps-icon.png --center \
--title "No Internet Detected" \
--text "The installer did not detect a current internet connection. \n\n \
This installer requires internet access to determine current versions of the software and download for installation \
\n\nWould you like to continue anyway?" ${r} ${c}
return
else
echo -e ${READY}Internet confirmed${NOCOLOR}