mirror of https://github.com/zulip/zulip.git
setup-production: Remove more postgres packages.
Travis CI seems to have added Postgres 9.5 to the default-installed Postgres package list, and we also missed a few side packages previously as well.
This commit is contained in:
parent
2581ac166c
commit
28a7d991f6
|
@ -9,7 +9,7 @@ sudo chmod a+rX /home/travis
|
||||||
# Uninstall the unnecessary extra versions of postgres that Travis CI
|
# Uninstall the unnecessary extra versions of postgres that Travis CI
|
||||||
# installs since if we don't do this, doing apt upgrades can fail due
|
# installs since if we don't do this, doing apt upgrades can fail due
|
||||||
# to conflicts over which version of postgres should be running.
|
# to conflicts over which version of postgres should be running.
|
||||||
sudo apt-get remove postgresql-9.1 postgresql-client-9.1 postgresql-9.1-postgis-2.2 postgresql-contrib-9.1 postgresql-9.2 postgresql-client-9.2 postgresql-9.2-postgis-2.2 postgresql-contrib-9.2 postgresql-9.4 -y
|
sudo apt-get remove postgresql-9.1 postgresql-client-9.1 postgresql-9.1-postgis-2.2 postgresql-contrib-9.1 postgresql-9.1-postgis-2.2-scripts postgresql-9.2 postgresql-client-9.2 postgresql-9.2-postgis-2.2 postgresql-9.2-postgis-2.2-scripts postgresql-contrib-9.2 postgresql-9.4 postgresql-9.4-postgis-2.2-scripts postgresql-client-9.4 postgresql-9.5 postgresql-9.5-postgis-2.2 postgresql-9.5-postgis-2.2-scripts postgresql-contrib-9.5 postgresql-client-9.5 -y
|
||||||
|
|
||||||
python tools/provision.py --travis --production-travis
|
python tools/provision.py --travis --production-travis
|
||||||
cp -a tools/travis/success-http-headers.txt ~/
|
cp -a tools/travis/success-http-headers.txt ~/
|
||||||
|
|
Loading…
Reference in New Issue