Browse Source

Update postgresql.sh

FusionPBX 7 years ago
parent
commit
5fbf58554c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      debian/resources/postgresql.sh

+ 1 - 1
debian/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/ jessie-pgdg main' > /etc/apt/sources.list.d/postgresql.list
+	echo "deb http://apt.postgresql.org/pub/repos/apt/ $os_codename-pgdg main" > /etc/apt/sources.list.d/postgresql.list
 	wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | apt-key add -
 	apt-get update && apt-get upgrade -y
 	if [ ."$database_version" = ."latest" ]; then