Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- # Run me as root or via sudo to setup the PostgreSQL Community apt
- # repo on Debian or Ubuntu.
- if [ ! -e /etc/apt/sources.list.d/pgdg.list ]; then
- echo "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list
- wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
- apt update
- fi
Add Comment
Please, Sign In to add comment