d06f4d089302ecd448eaa557baf6ed4fca34428b

Author
Marc Cornellà <marc.cornella@live.com>
Committer
Marc Cornellà <marc.cornella@live.com>
Date

Message

Fix backwards logic in uninstaller once and for all

Really this time :P

Fixes #4533

Diff

 1diff --git a/tools/uninstall.sh b/tools/uninstall.sh
 2index 80b11a10a0d8013150424dddc93e9e9d306ae688..9ad1b64a668fce464914cc1c04eab02b7e729d1b 100644
 3--- a/tools/uninstall.sh
 4+++ b/tools/uninstall.sh
 5@@ -1,5 +1,5 @@
 6 read -r -p "Are you sure you want to remove Oh My Zsh? [y/N] " confirmation
 7-if [ $confirmation = y ] || [ $confirmation = Y ]
 8+if [ "$confirmation" != y ] && [ "$confirmation" != Y ]
 9 then
10   echo "Uninstall cancelled"
11   exit