mirror of https://github.com/zulip/zulip.git
install: Move upstart checks a bit earlier.
This should make it much more likely that users see this before waiting a long time for other things to happen, since the `apt-get dist-upgrade` step is really slow. We can't move further to the top, since this requires `lsb_release` to be installed.
This commit is contained in:
parent
a647f7bf9f
commit
2424819749
|
@ -33,12 +33,12 @@ ZULIP_PATH="$(realpath $(dirname $0)/../..)"
|
|||
# setup-apt-repo does an `apt-get update`
|
||||
"$ZULIP_PATH"/scripts/lib/setup-apt-repo
|
||||
|
||||
apt-get -y dist-upgrade $APT_OPTIONS
|
||||
apt-get install -y puppet git python python3 python-six python3-six crudini $ADDITIONAL_PACKAGES
|
||||
|
||||
# Handle issues around upstart on Ubuntu Xenial
|
||||
"$ZULIP_PATH"/scripts/lib/check-upstart
|
||||
|
||||
apt-get -y dist-upgrade $APT_OPTIONS
|
||||
apt-get install -y puppet git python python3 python-six python3-six crudini $ADDITIONAL_PACKAGES
|
||||
|
||||
# Create and activate a virtualenv
|
||||
if [ "$VIRTUALENV_NEEDED" = "yes" ]; then
|
||||
"$ZULIP_PATH"/scripts/lib/create-production-venv "$ZULIP_PATH"
|
||||
|
|
Loading…
Reference in New Issue