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