#!/bin/sh
{
sudo apt-get -q update
sudo apt-get -qy install gnupg2
curl -fsSL https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo gpg --dearmor -o /etc/apt/trusted.gpg.d/postgresql.gpg
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 -q update
} >&2
echo postgresql-13 postgresql-client-13
