From ba7a7c172069ee2926f3d2756d8880599b2ab3a6 Mon Sep 17 00:00:00 2001 From: tteckster Date: Fri, 10 Mar 2023 09:27:46 -0500 Subject: [PATCH] Update alpine-vaultwarden-v5-install.sh revert 12d5a78 Alpine doesn't like parameter expansion `${prompt,,}` fixes https://github.com/tteck/Proxmox/issues/1144 --- install/alpine-vaultwarden-v5-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/alpine-vaultwarden-v5-install.sh b/install/alpine-vaultwarden-v5-install.sh index 187fb8c1..6c1a5d80 100644 --- a/install/alpine-vaultwarden-v5-install.sh +++ b/install/alpine-vaultwarden-v5-install.sh @@ -74,7 +74,7 @@ trap - ERR 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 [[ $prompt == "y" || $prompt == "Y" || $prompt == "yes" || $prompt == "Yes" ]]; then echo -e " ⚠️ ${RD}Expect Issues Without Internet${CL}" else echo -e " 🖧 Check Network Settings"