diff --git a/installer-builder/darwin/Resources/uninstall.sh b/installer-builder/darwin/Resources/uninstall.sh index 638ab4d79..2b358b9e5 100755 --- a/installer-builder/darwin/Resources/uninstall.sh +++ b/installer-builder/darwin/Resources/uninstall.sh @@ -49,7 +49,7 @@ fi #clean up ~/.finch directory while true; do read -r -p "Delete ~/.finch containing persistent user data [Y/n]? " answer - if [[ $answer == "y" || $answer == "Y" || $answer == "" ]] + if [[ $answer == "y" || $answer == "Y" ]] then [ -d ~/.finch ] && rm -rf ~/.finch if [ $? -eq 0 ] @@ -59,7 +59,7 @@ while true; do echo "[4/4] [ERROR] Could not delete ~/.finch" >&2 fi break - elif [[ $answer == "n" || $answer == "N" ]] + elif [[ $answer == "n" || $answer == "N" || $answer == "" ]] then echo "[4/4] Deletion of ~/.finch was aborted." break