mirror of
https://github.com/certbot/certbot.git
synced 2026-08-03 03:32:13 +02:00
"none" is clearer than "0.0.0" as a sentinel value.
This commit is contained in:
@@ -168,7 +168,7 @@ elif [ "$1" = "--no-self-upgrade" ]; then
|
||||
if [ -f $VENV_BIN/letsencrypt ]; then
|
||||
INSTALLED_VERSION=$($VENV_BIN/letsencrypt --version 2>&1 | cut -d " " -f 2)
|
||||
else
|
||||
INSTALLED_VERSION="0.0.0"
|
||||
INSTALLED_VERSION="none"
|
||||
fi
|
||||
if [ "$LE_AUTO_VERSION" = "$INSTALLED_VERSION" ]; then
|
||||
echo "Reusing old virtual environment."
|
||||
|
||||
Reference in New Issue
Block a user