Fix: Accept uppercase Y in installation prompt

The installation prompt was only accepting lowercase 'y', causing the
script to exit when users entered uppercase 'Y'. This fix aligns the
prompt behavior with all other y/n prompts in the script by using
case-insensitive pattern matching (=~ ^[Yy]$).

Fixes issue where installation would bail after selecting Y to proceed.
This commit is contained in:
Claude
2025-11-22 15:42:06 +00:00
parent 6a96de4073
commit 44cfd63ebf
+1 -1
View File
@@ -3699,7 +3699,7 @@ first_time_install() {
echo " • Onboard touchscreen keyboard"
echo
read -r -p "Proceed with installation? (y/n): " proceed
[[ "$proceed" != "y" ]] && exit 0
[[ ! "$proceed" =~ ^[Yy]$ ]] && exit 0
echo
echo "[1/27] Installing packages..."