there can be only one - line pgdg.list

This commit is contained in:
erxspin 2017-02-21 09:55:23 +06:00
parent fbdca20dee
commit e3c717f61a
1 changed files with 1 additions and 1 deletions

View File

@ -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