provision: Clean up error message for missing virtualenv.

This new message should be clearer; it does come up occasionally.
This commit is contained in:
Tim Abbott 2018-02-05 11:40:44 -08:00
parent e8a5f68980
commit 0c4aa48895
1 changed files with 3 additions and 3 deletions

View File

@ -41,12 +41,12 @@ if [ $failed = 1 ]; then
exit 1
elif [ "$VIRTUAL_ENV" != "/srv/zulip-py3-venv" ] && [ -z "${TRAVIS}${SKIP_VENV_SHELL_WARNING}" ]; then
echo -e "$WARNING"
echo "WARNING: This shell does not have the Python 3 virtualenv activated."
echo "Zulip commands will fail."
echo "WARNING: This shell does not have the Zulip Python 3 virtualenv activated."
echo "Zulip commands will fail until you activate the virtualenv."
echo
echo "To update the shell, run:"
echo " source /srv/zulip-py3-venv/bin/activate"
echo "or just close this shell and start a new one."
echo "or just close this shell and start a new one (with Vagrant, `vagrant ssh`)."
echo -en "$ENDC"
fi
exit 0