From 0380c6ddb70b8ea42716f44cd00a004d844b813a Mon Sep 17 00:00:00 2001 From: "Douglas C. R. Paes" Date: Mon, 3 Feb 2020 14:01:58 -0300 Subject: [PATCH] Included the software-properties-common package install --- scripts/postgresql.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/scripts/postgresql.sh b/scripts/postgresql.sh index 315ca03..e95c346 100755 --- a/scripts/postgresql.sh +++ b/scripts/postgresql.sh @@ -19,6 +19,7 @@ echo read -e -p "Install PostgreSQL database? [y/n] " -i "n" installpg if [ "$installpg" = "y" ]; then + sudo apt-get install software-properties-common -y sudo add-apt-repository "deb http://apt.postgresql.org/pub/repos/apt/ $(lsb_release -sc)-pgdg main" wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key add - sudo apt-get update