Commit ce4c1dd0ba0edbb8998ee6822d3747a5fc3f6f31
Committed by
Sergio Oliveira
1 parent
2d83a977
Exists in
master
and in
39 other branches
vagrant/ubuntu.sh: abstract postgresql versions
Just installing `postgresql` will do the right thing.
Showing
1 changed file
with
1 additions
and
9 deletions
Show diff stats
vagrant/ubuntu.sh
... | ... | @@ -2,19 +2,11 @@ |
2 | 2 | |
3 | 3 | UBUNTU=$(lsb_release -sc) |
4 | 4 | |
5 | -if [[ $UBUNTU == 'precise' ]] | |
6 | -then | |
7 | - postgresql_pkg='postgresql-9.1' | |
8 | -elif [[ $UBUNTU == 'trusty' ]] | |
9 | -then | |
10 | - postgresql_pkg='postgresql-9.3' | |
11 | -fi | |
12 | - | |
13 | 5 | |
14 | 6 | ### Install dependencies |
15 | 7 | apt-get update |
16 | 8 | |
17 | -apt-get install curl git unzip mercurial build-essential libev-dev gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev libfreetype6-dev libpq-dev python-dev $postgresql_pkg -y | |
9 | +apt-get install curl git unzip mercurial build-essential libev-dev gettext libxml2-dev libxslt1-dev libssl-dev libffi-dev libjpeg-dev zlib1g-dev libfreetype6-dev libpq-dev python-dev postgresql -y | |
18 | 10 | |
19 | 11 | |
20 | 12 | ### Install Virtualenvwrapper | ... | ... |