summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtools/install.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/install.sh b/tools/install.sh
index e5f126915..5c9b2c18d 100755
--- a/tools/install.sh
+++ b/tools/install.sh
@@ -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