Browse Source

Fix conditional in uninstall prompt

Marc Cornellà 9 years ago
parent
commit
4e42e1f7e1
1 changed files with 1 additions and 1 deletions
  1. 1 1
      tools/uninstall.sh

+ 1 - 1
tools/uninstall.sh

@@ -1,5 +1,5 @@
 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
   echo "Uninstall cancelled"
   exit