1
0
Fork 0

chore(install): option case matching (#12881)

This commit is contained in:
Gurram Siddarth Reddy 2025-03-21 00:59:33 +05:30 committed by GitHub
parent 0c8c7bf2a8
commit 22ec00d1f6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -399,8 +399,8 @@ EOF
"$FMT_YELLOW" "$FMT_RESET"
read -r opt
case $opt in
y*|Y*|"") ;;
n*|N*) echo "Shell change skipped."; return ;;
[Yy]*|"") ;;
[Nn]*) echo "Shell change skipped."; return ;;
*) echo "Invalid choice. Shell change skipped."; return ;;
esac