diff options
author | Marc Cornellà <marc.cornella@live.com> | 2015-10-21 16:44:26 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-10-21 16:46:38 +0200 |
commit | d06f4d089302ecd448eaa557baf6ed4fca34428b (patch) | |
tree | 9f8ff4680e20e614619f9d8cacc950c9445afeea /tools/uninstall.sh | |
parent | 4e42e1f7e149f85ba52b654dbea9766080a9a480 (diff) | |
download | zsh-d06f4d089302ecd448eaa557baf6ed4fca34428b.tar.gz zsh-d06f4d089302ecd448eaa557baf6ed4fca34428b.tar.bz2 zsh-d06f4d089302ecd448eaa557baf6ed4fca34428b.zip |
Fix backwards logic in uninstaller once and for all
Really this time :P
Fixes #4533
Diffstat (limited to 'tools/uninstall.sh')
-rw-r--r-- | tools/uninstall.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uninstall.sh b/tools/uninstall.sh index 80b11a10a..9ad1b64a6 100644 --- a/tools/uninstall.sh +++ b/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 |