From 687520e8041b2115e1f9262f5569b7b6bc5c0641 Mon Sep 17 00:00:00 2001 From: "Balasankar \"Balu\" C" Date: Tue, 2 Apr 2019 17:21:02 +0530 Subject: [PATCH] Use stretch repos of PostgreSQL Signed-off-by: Balasankar "Balu" C --- scripts/install-postgresql | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/install-postgresql b/scripts/install-postgresql index 457d154..0e38e68 100755 --- a/scripts/install-postgresql +++ b/scripts/install-postgresql @@ -6,10 +6,10 @@ POSTGRES_VERSION=${1:-9.6} export DEBIAN_FRONTEND=noninteractive curl -sS -L https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - -echo "deb http://apt.postgresql.org/pub/repos/apt/ xenial-pgdg ${POSTGRES_VERSION}" | tee /etc/apt/sources.list.d/postgresql.list +echo "deb http://apt.postgresql.org/pub/repos/apt/ stretch-pgdg main" | tee /etc/apt/sources.list.d/postgresql.list apt-get update -apt-get install -y postgresql-client +apt-get install -y postgresql-client-${POSTGRES_VERSION} apt-get autoremove -yq apt-get clean -yqq