-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP] Pin PostgreSQL install to 9.6 #153
base: master
Are you sure you want to change the base?
Conversation
@@ -2,4 +2,7 @@ | |||
# Steve Phillips / elimisteve | |||
# 2017.05.13 | |||
|
|||
sudo apt-get install postgresql-9.4 postgresql-contrib-9.4 | |||
sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg main" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🤦♂️ this is xenial
specific.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajvb Could use $(grep DISTRIB_CODENAME /etc/lsb-release | cut -d= -f2)
or similar to dynamically get the Ubuntu codename, rather than hardcoding xenial
?
A solution that works on Debian, too, would be ideal.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ajvb Think that'd work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks like it: http://apt.postgresql.org/pub/repos/apt/dists/
TODO:
fedora_install.sh