Force y, Y, yes or YES to confirm installation

This commit is contained in:
Rémi Lapeyre 2018-09-19 16:18:27 +02:00
parent 5603eb51c9
commit 9be58802c1
2 changed files with 2 additions and 2 deletions

View file

@ -160,7 +160,7 @@ if [ -d "${PREFIX}/bin" ]; then
read -p "continue with installation? (y/N) "
case "$REPLY" in
y* | Y* ) ;;
y | Y | yes | YES ) ;;
* ) exit 1 ;;
esac
elif [ -n "$SKIP_EXISTING" ]; then

View file

@ -71,7 +71,7 @@ if [ -z "$FORCE" ]; then
read -p "pyenv: remove $PREFIX? "
case "$REPLY" in
y* | Y* ) ;;
y | Y | yes | YES ) ;;
* ) exit 1 ;;
esac
fi