mirror of
https://github.com/pyenv/pyenv.git
synced 2024-11-21 20:47:00 -05:00
Merge pull request #1217 from remilapeyre/master
Force y, Y, yes or YES to confirm installation
This commit is contained in:
commit
fe04483773
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue