mirror of
https://github.com/certbot/certbot.git
synced 2026-08-01 02:44:21 +02:00
letsencrypt-auto installs py26reqs.txt (fixes #1046).
This commit is contained in:
+5
-3
@@ -19,7 +19,7 @@ else
|
|||||||
SUDO=
|
SUDO=
|
||||||
fi
|
fi
|
||||||
|
|
||||||
for arg in "$@" ; do
|
for arg in "$@" ; do
|
||||||
# This first clause is redundant with the third, but hedging on portability
|
# This first clause is redundant with the third, but hedging on portability
|
||||||
if [ "$arg" = "-v" ] || [ "$arg" = "--verbose" ] || echo "$arg" | grep -E -- "-v+$" ; then
|
if [ "$arg" = "-v" ] || [ "$arg" = "--verbose" ] || echo "$arg" | grep -E -- "-v+$" ; then
|
||||||
VERBOSE=1
|
VERBOSE=1
|
||||||
@@ -78,11 +78,11 @@ if [ "$VERBOSE" = 1 ] ; then
|
|||||||
echo
|
echo
|
||||||
$VENV_BIN/pip install -U setuptools
|
$VENV_BIN/pip install -U setuptools
|
||||||
$VENV_BIN/pip install -U pip
|
$VENV_BIN/pip install -U pip
|
||||||
$VENV_BIN/pip install -U letsencrypt letsencrypt-apache
|
$VENV_BIN/pip install -r py26reqs.txt -U letsencrypt letsencrypt-apache
|
||||||
# nginx is buggy / disabled for now, but upgrade it if the user has
|
# nginx is buggy / disabled for now, but upgrade it if the user has
|
||||||
# installed it manually
|
# installed it manually
|
||||||
if $VENV_BIN/pip freeze | grep -q letsencrypt-nginx ; then
|
if $VENV_BIN/pip freeze | grep -q letsencrypt-nginx ; then
|
||||||
$VENV_BIN/pip install -U letsencrypt letsencrypt-nginx
|
$VENV_BIN/pip install -U letsencrypt letsencrypt-nginx
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
$VENV_BIN/pip install -U setuptools > /dev/null
|
$VENV_BIN/pip install -U setuptools > /dev/null
|
||||||
@@ -90,6 +90,8 @@ else
|
|||||||
$VENV_BIN/pip install -U pip > /dev/null
|
$VENV_BIN/pip install -U pip > /dev/null
|
||||||
printf .
|
printf .
|
||||||
# nginx is buggy / disabled for now...
|
# nginx is buggy / disabled for now...
|
||||||
|
$VENV_BIN/pip install -r py26reqs.txt
|
||||||
|
printf .
|
||||||
$VENV_BIN/pip install -U letsencrypt > /dev/null
|
$VENV_BIN/pip install -U letsencrypt > /dev/null
|
||||||
printf .
|
printf .
|
||||||
$VENV_BIN/pip install -U letsencrypt-apache > /dev/null
|
$VENV_BIN/pip install -U letsencrypt-apache > /dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user