Commit b2010a0a authored by Marc Cornellà's avatar Marc Cornellà
Browse files

Fix syntax error in confirmation prompt of uninstall.sh

We need to use POSIX syntax. This file is no longer executed with zsh.

Fixes #4483.
parent ca5632bc
read -r -p "Are you sure you want to remove Oh My Zsh? [y/N] " confirmation read -r -p "Are you sure you want to remove Oh My Zsh? [y/N] " confirmation
if ! [[ $confirmation =~ ^[yY]$ ]] if [ $confirmation = y ] && [ $confirmation = Y ]
then then
echo "Uninstall cancelled" echo "Uninstall cancelled"
exit exit
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment