"none" is clearer than "0.0.0" as a sentinel value.

This commit is contained in:
Erik Rose
2015-12-03 19:21:34 -05:00
parent 5cc69d92e7
commit 55a52d1b96
+1 -1
View File
@@ -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."