diff --git a/install.sh b/install.sh index 00ad754d..3f574dcd 100755 --- a/install.sh +++ b/install.sh @@ -97,4 +97,11 @@ if [ -z "$PYTHON" ]; then exit 1 fi -"$PYTHON" "$INSTALLER" "$@" +# Piped from curl, standard input is this script, not the terminal: the +# installer would skip every question it can ask. Hand it the terminal when +# there is one. +if [ ! -t 0 ] && (: /dev/null; then + "$PYTHON" "$INSTALLER" "$@"