From 9b7f3a1920faf6cb30ee3f1d4f7982b32ef09120 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' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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'. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude --- 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