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