Last active
September 23, 2015 14:52
-
-
Save instaBOT/a1a4fcbe046c84542b98 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
cd | |
set -e | |
wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - | |
echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" | \ | |
sudo tee /etc/apt/sources.list.d/pgdg.list | |
sudo apt-get update | |
echo "It is highly recommended you upgrade now: sudo apt-get upgrade --yes" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment