summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2015-10-21 11:28:12 +0200
committerMarc Cornellà <marc.cornella@live.com>2015-10-21 11:28:12 +0200
commit4e42e1f7e149f85ba52b654dbea9766080a9a480 (patch)
tree6d884a453003adc3f684b8d8de2289fd3c83fc28 /tools
parentb2010a0ae63ba09632a3b427edc81888eadec4d8 (diff)
downloadzsh-4e42e1f7e149f85ba52b654dbea9766080a9a480.tar.gz
zsh-4e42e1f7e149f85ba52b654dbea9766080a9a480.tar.bz2
zsh-4e42e1f7e149f85ba52b654dbea9766080a9a480.zip
Fix conditional in uninstall prompt
Diffstat (limited to 'tools')
-rw-r--r--tools/uninstall.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/uninstall.sh b/tools/uninstall.sh
index 488b002e7..80b11a10a 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