mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:41:53 +02:00
Put off rm-ing the venv for as long as possible, since it triggers a re-bootstrap.
If DeterminePythonVersion has an error, we shouldn't re-bootstrap.
This commit is contained in:
@@ -174,8 +174,8 @@ elif [ "$1" = "--no-self-upgrade" ]; then
|
|||||||
echo "Reusing old virtual environment."
|
echo "Reusing old virtual environment."
|
||||||
else
|
else
|
||||||
echo "Creating virtual environment..."
|
echo "Creating virtual environment..."
|
||||||
rm -rf "$VENV_PATH"
|
|
||||||
DeterminePythonVersion
|
DeterminePythonVersion
|
||||||
|
rm -rf "$VENV_PATH"
|
||||||
if [ "$VERBOSE" = 1 ]; then
|
if [ "$VERBOSE" = 1 ]; then
|
||||||
virtualenv --no-site-packages --python $LE_PYTHON $VENV_PATH
|
virtualenv --no-site-packages --python $LE_PYTHON $VENV_PATH
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user