4e42e1f7e149f85ba52b654dbea9766080a9a480

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

Message

Fix conditional in uninstall prompt

Diff

 1diff --git a/tools/uninstall.sh b/tools/uninstall.sh
 2index 488b002e762e83147f141452bc8b68b224a62fc5..80b11a10a0d8013150424dddc93e9e9d306ae688 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