Skip to content
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

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

ajvb
Copy link
Collaborator

@ajvb ajvb commented Aug 6, 2017

TODO:

  • Fix README for OSX
  • Fix fedora_install.sh

@ajvb ajvb requested a review from elimisteve August 6, 2017 03:47
@ajvb ajvb closed this Aug 6, 2017
@ajvb ajvb changed the title Have debian_install.sh install postgres 9.6 [WIP] Pin PostgreSQL install to 9.6 Aug 6, 2017
@ajvb ajvb reopened this Aug 6, 2017
@@ -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"
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🤦‍♂️ this is xenial specific.

Copy link
Member

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.

Copy link
Member

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?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants