diff --git a/pkg/debian/setup.sh b/pkg/debian/setup.sh index 7457e53f0..f19b2ef70 100755 --- a/pkg/debian/setup.sh +++ b/pkg/debian/setup.sh @@ -6,11 +6,16 @@ if [ "$EUID" -ne 0 ] fi echo "Installing system pre-requisites..." -apt install -y curl apt-transport-https ca-certificates +apt install -y curl apt-transport-https ca-certificates gnupg echo "Removing yarn (which may not be the package we expect)..." dpkg -r yarn +# PostgreSQL +echo "Setting up the PostgreSQL repo..." +curl https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - +sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" > /etc/apt/sources.list.d/pgdg.list' + # Node repo echo "Setting up the NodeJS repo..." curl -sL https://deb.nodesource.com/setup_12.x | bash -