Add a subtle progress bar

This commit is contained in:
Peter Eckersley 2015-10-14 23:41:37 -07:00
parent ab036e98e0
commit 2794b762d6

View file

@ -64,17 +64,23 @@ then
fi
fi
echo "Updating letsencrypt and virtual environment dependencies..."
echo -n "Updating letsencrypt and virtual environment dependencies..."
if [ "$VERBOSE" = 1 ] ; then
echo
$VENV_BIN/pip install -U setuptools
$VENV_BIN/pip install -U pip
# nginx is buggy / disabled for now...
$VENV_BIN/pip install -U letsencrypt letsencrypt-apache #letsencrypt-nginx
else
$VENV_BIN/pip install -U setuptools > /dev/null
echo -n .
$VENV_BIN/pip install -U pip > /dev/null
echo -n .
# nginx is buggy / disabled for now...
$VENV_BIN/pip install -U letsencrypt letsencrypt-apache > /dev/null
$VENV_BIN/pip install -U letsencrypt > /dev/null
echo -n .
$VENV_BIN/pip install -U letsencrypt-apache > /dev/null
echo
fi
# Explain what's about to happen, for the benefit of those getting sudo