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'.
This commit is contained in:
cschantz
2025-11-06 15:46:13 -05:00
parent 39d01a6e4c
commit d3e0c4fe1b
+1 -1
View File
@@ -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