diff --git a/misc/alpine-install.func b/misc/alpine-install.func index 57b753a2..a8f91e47 100644 --- a/misc/alpine-install.func +++ b/misc/alpine-install.func @@ -79,7 +79,7 @@ network_check() { if ping -c 1 -W 1 1.1.1.1 &> /dev/null; then msg_ok "Internet Connected"; else msg_error "Internet NOT Connected" read -r -p "Would you like to continue anyway? " prompt - if [[ "${prompt,,}" =~ ^(y|yes)$ ]]; then + if echo "$prompt" | grep -Eq "^(y|yes)$"; then echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}" else echo -e " 🖧 Check Network Settings"