From b2cdc1d5b3eafb82b2658d55202e46d825b5f976 Mon Sep 17 00:00:00 2001 From: Carlos Guerrero Date: Mon, 7 Oct 2024 14:59:15 +0100 Subject: [PATCH 1/2] Handle uppercase "Y" properly during install --- bin/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install b/bin/install index a03d70d..58c0c34 100755 --- a/bin/install +++ b/bin/install @@ -488,7 +488,7 @@ initiate() { echo - if [ "$yes_g" != "y" ]; then + if [ "${yes_g,,}" != "y" ]; then echo "Aborted" exit 1 fi @@ -522,7 +522,7 @@ initiate() { echo - if [ "$yes_go" != "y" ]; then + if [ "${yes_go,,}" != "y" ]; then exit 0 fi fi From d607f77d2393cf4156d32c41002467395388d37b Mon Sep 17 00:00:00 2001 From: Carlos Guerrero Date: Tue, 22 Oct 2024 16:03:03 +0100 Subject: [PATCH 2/2] Fix handling of uppercase "Y" during install --- bin/install | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/bin/install b/bin/install index 58c0c34..cf901ff 100755 --- a/bin/install +++ b/bin/install @@ -488,7 +488,7 @@ initiate() { echo - if [ "${yes_g,,}" != "y" ]; then + if [ "$yes_g" != "y" ] && [ "$yes_g" != "Y" ]; then echo "Aborted" exit 1 fi @@ -522,7 +522,7 @@ initiate() { echo - if [ "${yes_go,,}" != "y" ]; then + if [ "$yes_go" != "y" ] && [ "$yes_go" != "Y" ]; then exit 0 fi fi