From ed1f5e46e039df222c4cea933a638bfb4524e44b Mon Sep 17 00:00:00 2001 From: tteckster Date: Tue, 21 Mar 2023 14:42:18 -0400 Subject: [PATCH] alpine --- misc/alpine-install.func | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"