From 22d87fe277f9792c253ef857513853daa54e6096 Mon Sep 17 00:00:00 2001 From: Bibo Hao Date: Fri, 15 Mar 2024 01:25:21 +0800 Subject: [PATCH] Update script-setup-db-clients.sh --- docker_atom/work/script-setup-db-clients.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker_atom/work/script-setup-db-clients.sh b/docker_atom/work/script-setup-db-clients.sh index 21458e0..bc32ed1 100644 --- a/docker_atom/work/script-setup-db-clients.sh +++ b/docker_atom/work/script-setup-db-clients.sh @@ -2,7 +2,7 @@ source /opt/utils/script-utils.sh setup_postgresql_client() { - local VER_PG=${VERSION_PG:-"14"} + local VER_PG=${PG_MAJOR:-"15"} # from: https://www.postgresql.org/download/linux/ubuntu/ echo "deb https://apt.postgresql.org/pub/repos/apt $(lsb_release -cs)-pgdg main" | sudo tee /etc/apt/sources.list.d/pgdg.list curl "https://www.postgresql.org/media/keys/ACCC4CF8.asc" | sudo sudo tee /etc/apt/trusted.gpg.d/postgresql.asc