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

master
Gurram Siddarth Reddy 1 year ago committed by GitHub
parent 0c8c7bf2a8
commit 22ec00d1f6
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 4
      tools/install.sh

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

Loading…
Cancel
Save