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