From 64f3eabf17ca3891fcc86d10bfe6666333a2f4f5 Mon Sep 17 00:00:00 2001 From: FusionPBX Date: Tue, 4 Apr 2023 23:36:52 -0600 Subject: [PATCH] Update postgresql.sh --- ubuntu/resources/postgresql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ubuntu/resources/postgresql.sh b/ubuntu/resources/postgresql.sh index 92b9efd..4b3afb1 100755 --- a/ubuntu/resources/postgresql.sh +++ b/ubuntu/resources/postgresql.sh @@ -24,7 +24,7 @@ fi #postgres official repository if [ ."$database_repo" = ."official" ]; then - echo "deb http://apt.postgresql.org/pub/repos/apt/ $os_codename-pgdg main" > /etc/apt/sources.list.d/postgresql.list + echo "deb http://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-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 if [ ."$database_host" = ."127.0.0.1" ] || [ ."$database_host" = ."::1" ] ; then