Skip to content

Commit

Permalink
Install missing libpq-dev package
Browse files Browse the repository at this point in the history
  • Loading branch information
t27duck committed Nov 6, 2024
1 parent 467d5b5 commit 21d4b90
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions features/postgres-client/install.sh
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ apt-get update -qq
VERSION_EXISTS=$(apt-cache search --names-only postgresql-client-$POSTGRES_CLIENT_VERSION | wc -l)

if [ "$VERSION_EXISTS" -ge 1 ]; then
apt-get install --no-install-recommends -y postgresql-client-$POSTGRES_CLIENT_VERSION
apt-get install --no-install-recommends -y libpq-dev postgresql-client-$POSTGRES_CLIENT_VERSION
else
apt-get install --no-install-recommends -y postgresql-common
apt-get install --no-install-recommends -y postgresql-common libpq-dev
/usr/share/postgresql-common/pgdg/apt.postgresql.org.sh -y && apt-get install --no-install-recommends -y postgresql-client-$POSTGRES_CLIENT_VERSION
fi

Expand Down

0 comments on commit 21d4b90

Please sign in to comment.