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'.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
cschantz
2025-11-06 15:46:13 -05:00
parent 4aaa4b3f2b
commit 9b7f3a1920
+1 -1
View File
@@ -215,7 +215,7 @@ echo ""
echo -n "Proceed with installation? (yes/no): " echo -n "Proceed with installation? (yes/no): "
read -r confirm read -r confirm
if [ "$confirm" != "yes" ]; then if [[ ! "$confirm" =~ ^[Yy]([Ee][Ss])?$ ]]; then
echo "" echo ""
print_error "Installation cancelled" print_error "Installation cancelled"
press_enter press_enter