From 78a1212f5bc3ea63b2542c66e55e454e4ba4440b Mon Sep 17 00:00:00 2001 From: ravinsp <33562092+ravinsp@users.noreply.github.com> Date: Sun, 15 May 2022 06:29:59 +0530 Subject: [PATCH] Improved y/n prompt. --- installer/setup.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/installer/setup.sh b/installer/setup.sh index 224e5dd..d2cdc50 100755 --- a/installer/setup.sh +++ b/installer/setup.sh @@ -91,10 +91,12 @@ if [ "$mode" == "install" ] || [ "$mode" == "uninstall" ] || [ "$mode" == "updat fi function confirm() { - echo -en $1" [y/n] " + echo -en $1" [Y/n] " local yn="" - read yn