mirror of
https://github.com/zulip/zulip.git
synced 2025-11-02 04:53:36 +00:00
install: Move apt-get update into setup-apt-repo.
This commit is contained in:
@@ -15,9 +15,9 @@ DEPLOYMENT_TYPE="${DEPLOYMENT_TYPE:-voyager}"
|
||||
PUPPET_CLASSES="${PUPPET_CLASSES:-zulip::voyager}"
|
||||
VIRTUALENV_NEEDED="${VIRTUALENV_NEEDED:-yes}"
|
||||
|
||||
# setup-apt-repo does an `apt-get update`
|
||||
/root/zulip/scripts/lib/setup-apt-repo
|
||||
|
||||
apt-get update
|
||||
apt-get -y dist-upgrade $APT_OPTIONS
|
||||
apt-get install -y puppet git python python-six crudini $ADDITIONAL_PACKAGES
|
||||
|
||||
|
||||
@@ -20,3 +20,5 @@ else
|
||||
echo "Unsupported release $release."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
apt-get update
|
||||
|
||||
Reference in New Issue
Block a user