Skip to content

Commit

Permalink
Merge pull request #64 from t27duck/missing-libpq-dev
Browse files Browse the repository at this point in the history
Install missing libpq-dev package
  • Loading branch information
rafaelfranca authored Nov 6, 2024
2 parents 467d5b5 + 21d4b90 commit 81a41f9
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 81a41f9

Please sign in to comment.