From d4878c2d27b1b7bc56ed7648a27bebe6e38f1dc5 Mon Sep 17 00:00:00 2001 From: cschantz Date: Thu, 6 Nov 2025 15:46:13 -0500 Subject: [PATCH] Fix installer confirmation to accept 'y' in addition to 'yes' Changed confirmation check from exact 'yes' match to regex pattern that accepts: - y, Y - yes, Yes, YES - Any case variation This prevents user frustration when typing 'y' instead of full 'yes'. --- modules/backup/acronis-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/backup/acronis-install.sh b/modules/backup/acronis-install.sh index cd4f581..de6185f 100755 --- a/modules/backup/acronis-install.sh +++ b/modules/backup/acronis-install.sh @@ -215,7 +215,7 @@ echo "" echo -n "Proceed with installation? (yes/no): " read -r confirm -if [ "$confirm" != "yes" ]; then +if [[ ! "$confirm" =~ ^[Yy]([Ee][Ss])?$ ]]; then echo "" print_error "Installation cancelled" press_enter