mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 10:51:53 +02:00
Updating letsencrypt-auto
This commit is contained in:
@@ -911,13 +911,19 @@ UNLIKELY_EOF
|
|||||||
# Set PATH so pipstrap upgrades the right (v)env:
|
# Set PATH so pipstrap upgrades the right (v)env:
|
||||||
PATH="$VENV_BIN:$PATH" "$VENV_BIN/python" "$TEMP_DIR/pipstrap.py"
|
PATH="$VENV_BIN:$PATH" "$VENV_BIN/python" "$TEMP_DIR/pipstrap.py"
|
||||||
set +e
|
set +e
|
||||||
PIP_OUT=`"$VENV_BIN/pip" install --no-cache-dir --require-hashes -r "$TEMP_DIR/letsencrypt-auto-requirements.txt" 2>&1`
|
if [ "$VERBOSE" = 1 ]; then
|
||||||
|
"$VENV_BIN/pip" install --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`
|
||||||
|
fi
|
||||||
PIP_STATUS=$?
|
PIP_STATUS=$?
|
||||||
set -e
|
set -e
|
||||||
if [ "$PIP_STATUS" != 0 ]; then
|
if [ "$PIP_STATUS" != 0 ]; then
|
||||||
# Report error. (Otherwise, be quiet.)
|
# Report error. (Otherwise, be quiet.)
|
||||||
echo "Had a problem while installing Python packages:"
|
echo "Had a problem while installing Python packages."
|
||||||
echo "$PIP_OUT"
|
if [ "$VERBOSE" != 1 ]; then
|
||||||
|
echo "$PIP_OUT"
|
||||||
|
fi
|
||||||
rm -rf "$VENV_PATH"
|
rm -rf "$VENV_PATH"
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user