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
parent
commit
fe04483773
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      plugins/python-build/bin/pyenv-install
  2. +1
    -1
      plugins/python-build/bin/pyenv-uninstall

+ 1
- 1
plugins/python-build/bin/pyenv-install 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

+ 1
- 1
plugins/python-build/bin/pyenv-uninstall 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

Loading…
Cancel
Save