From 54ac6eece0f7fe770a7aa943d44300add8ddc087 Mon Sep 17 00:00:00 2001 From: JJ Date: Fri, 16 Jan 2026 10:57:49 +0100 Subject: [PATCH] postgresql: name of sources file fixed (update check) (#10854) * fix: name of sources file fixed The wrong name leads to updates being not possible as "No PostgreSQL Installation Found!" will be displayed. * Change check for PostgreSQL installation commandupdate: switch from file to command check * fix: command check expression --- ct/postgresql.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/postgresql.sh b/ct/postgresql.sh index d87cab934..90f54558b 100644 --- a/ct/postgresql.sh +++ b/ct/postgresql.sh @@ -23,7 +23,7 @@ function update_script() { header_info check_container_storage check_container_resources - if [[ ! -f /etc/apt/sources.list.d/pgdg.list ]]; then + if ! command -v psql >/dev/null 2>&1; then msg_error "No ${APP} Installation Found!" exit fi