mirror of
https://gitee.com/mirrors/ohmyzsh.git
synced 2026-10-13 04:34:22 +08:00
Fix conditional in uninstall prompt
This commit is contained in:
1 parent
b2010a0ae6
commit
4e42e1f7e1
1 file changed
+1
-1
+1
-1
@@ -1,5 +1,5 @@
|
|||||||
read -r -p "Are you sure you want to remove Oh My Zsh? [y/N] " confirmation
|
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
|
then
|
||||||
echo "Uninstall cancelled"
|
echo "Uninstall cancelled"
|
||||||
exit
|
exit
|
||||||
|
|||||||
Reference in new issue
Block a user