From f5580598cda39b9e93393dd618a91accbd7469d2 Mon Sep 17 00:00:00 2001 From: Noah Swartz Date: Mon, 17 Jul 2017 13:08:52 -0700 Subject: [PATCH] add disable pip version check flag --- certbot-auto | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/certbot-auto b/certbot-auto index 599538891..4c923dbf9 100755 --- a/certbot-auto +++ b/certbot-auto @@ -562,7 +562,7 @@ BootstrapMac() { if ! hash virtualenv 2>/dev/null; then say "virtualenv not installed." say "Installing with pip..." - pip install virtualenv + pip install --disable-pip-version-check virtualenv fi } @@ -1045,9 +1045,9 @@ UNLIKELY_EOF PATH="$VENV_BIN:$PATH" "$VENV_BIN/python" "$TEMP_DIR/pipstrap.py" set +e if [ "$VERBOSE" = 1 ]; then - "$VENV_BIN/pip" install --no-cache-dir --require-hashes -r "$TEMP_DIR/letsencrypt-auto-requirements.txt" + "$VENV_BIN/pip" install --disable-pip-version-check --no-cache-dir --require-hashes -r "$TEMP_DIR/letsencrypt-auto-requirements.txt" else - PIP_OUT=`"$VENV_BIN/pip" install --no-cache-dir --require-hashes -r "$TEMP_DIR/letsencrypt-auto-requirements.txt" 2>&1` + PIP_OUT=`"$VENV_BIN/pip" install --disable-pip-version-check --no-cache-dir --require-hashes -r "$TEMP_DIR/letsencrypt-auto-requirements.txt" 2>&1` fi PIP_STATUS=$? set -e