From 609d5e9c8e2fe60162bcc4d31817abd99dea9a38 Mon Sep 17 00:00:00 2001 From: Bachir Soussi Chiadmi Date: Thu, 18 Apr 2019 21:12:37 +0200 Subject: [PATCH] fix install.sh first read --- install.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index 48455c0..2894ae8 100755 --- a/install.sh +++ b/install.sh @@ -11,10 +11,10 @@ echo -e "\033[35;1mThis script has been tested only on Alpine Linux \033[0m" . bin/checkroot.sh -echo -n "Should we start? [Y|n] " +echo -n "Should we start? [y|n] " read yn yn=${yn:-y} -if [ "$yn" != "y" ]; then +if [ "$yn" != "y" ] && [ "$yn" != "Y" ]; then echo -e "aborting script!" exit fi