Merge pull request #1217 from remilapeyre/master

Force y, Y, yes or YES to confirm installation
This commit is contained in:
Christopher Hunt 2019-02-21 20:31:20 -05:00 committed by GitHub
commit fe04483773
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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) " read -p "continue with installation? (y/N) "
case "$REPLY" in case "$REPLY" in
y* | Y* ) ;; y | Y | yes | YES ) ;;
* ) exit 1 ;; * ) exit 1 ;;
esac esac
elif [ -n "$SKIP_EXISTING" ]; then elif [ -n "$SKIP_EXISTING" ]; then

View file

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