Explorar o código

Option to install PostgreSQL 13

FusionPBX %!s(int64=4) %!d(string=hai) anos
pai
achega
32c4e6e16e
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      ubuntu/resources/postgresql.sh

+ 2 - 2
ubuntu/resources/postgresql.sh

@@ -31,10 +31,10 @@ if [ ."$database_repo" = ."official" ]; then
 		if [ ."$database_version" = ."latest" ]; then
 		if [ ."$database_version" = ."latest" ]; then
 			apt-get install -y sudo postgresql
 			apt-get install -y sudo postgresql
 		fi
 		fi
-		if [ ."$database_version" = ."9.6" ]; then
+		if [ ."$database_version" = ."14" ]; then
 			apt-get install -y sudo postgresql-$database_version
 			apt-get install -y sudo postgresql-$database_version
 		fi
 		fi
-		if [ ."$database_version" = ."9.4" ]; then
+		if [ ."$database_version" = ."13" ]; then
 			apt-get install -y sudo postgresql-$database_version
 			apt-get install -y sudo postgresql-$database_version
 		fi
 		fi
 	fi
 	fi