From 5247301bc983d0ca2b7ac32565b0788b5f3d5ed9 Mon Sep 17 00:00:00 2001 From: erxspin Date: Thu, 23 Feb 2017 23:48:02 +0600 Subject: [PATCH] there can be only one - line pgdg.list (#70) --- debian/resources/postgres.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/debian/resources/postgres.sh b/debian/resources/postgres.sh index e20fa33..2dece12 100755 --- a/debian/resources/postgres.sh +++ b/debian/resources/postgres.sh @@ -13,7 +13,7 @@ echo "Install PostgreSQL and create the database and users\n" #apt-get install -y --force-yes sudo postgresql #postgres official repository -echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' >> /etc/apt/sources.list.d/pgdg.list +echo 'deb http://apt.postgresql.org/pub/repos/apt/ jessie-pgdg main' > /etc/apt/sources.list.d/pgdg.list wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add - apt-get update && apt-get upgrade -y apt-get install -y --force-yes sudo postgresql