Fix conditional in uninstall prompt

master
Marc Cornellà 11 years ago
parent b2010a0ae6
commit 4e42e1f7e1
  1. 2
      tools/uninstall.sh

@ -1,5 +1,5 @@
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 = y ] && [ $confirmation = Y ] if [ $confirmation = y ] || [ $confirmation = Y ]
then then
echo "Uninstall cancelled" echo "Uninstall cancelled"
exit exit

Loading…
Cancel
Save