Browse Source
Merge pull request #1217 from remilapeyre/master
Force y, Y, yes or YES to confirm installation
pull/1296/head
Christopher Hunt
7 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
2 additions and
2 deletions
-
plugins/python-build/bin/pyenv-install
-
plugins/python-build/bin/pyenv-uninstall
|
|
|
@ -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 |
|
|
|
|