1
0
mirror of https://github.com/pyenv/pyenv.git synced 2025-11-10 12:33:48 -05:00

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