mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-11 00:10:08 +00:00
Fix syntax error in confirmation prompt of uninstall.sh
We need to use POSIX syntax. This file is no longer executed with zsh. Fixes #4483.
This commit is contained in:
parent
ca5632bce1
commit
b2010a0ae6
1 changed files with 3 additions and 3 deletions
|
@ -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 =~ ^[yY]$ ]]
|
if [ $confirmation = y ] && [ $confirmation = Y ]
|
||||||
then
|
then
|
||||||
echo "Uninstall cancelled"
|
echo "Uninstall cancelled"
|
||||||
exit
|
exit
|
||||||
|
|
Loading…
Reference in a new issue