mirror of
https://github.com/certbot/certbot.git
synced 2026-07-28 00:35:50 +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."
|
||||
else
|
||||
echo "Creating virtual environment..."
|
||||
rm -rf "$VENV_PATH"
|
||||
DeterminePythonVersion
|
||||
rm -rf "$VENV_PATH"
|
||||
if [ "$VERBOSE" = 1 ]; then
|
||||
virtualenv --no-site-packages --python $LE_PYTHON $VENV_PATH
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user