From d06f4d089302ecd448eaa557baf6ed4fca34428b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Cornell=C3=A0?= Date: Wed, 21 Oct 2015 16:44:26 +0200 Subject: [PATCH] Fix backwards logic in uninstaller once and for all Really this time :P Fixes #4533 --- tools/uninstall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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