From 3d0319dba7ef91561c508cb480dd5fbe9297c0cf Mon Sep 17 00:00:00 2001 From: Dave Page Date: Tue, 2 Jun 2020 13:23:12 +0100 Subject: [PATCH] Include the libpq5 deb in the Debian/Ubuntu repos. --- pkg/debian/build.sh | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/pkg/debian/build.sh b/pkg/debian/build.sh index 7ccc06b16..6e4718b0f 100755 --- a/pkg/debian/build.sh +++ b/pkg/debian/build.sh @@ -35,7 +35,7 @@ cat << EOF > "${SERVERROOT}/DEBIAN/control" Package: ${APP_NAME}-server Version: ${APP_LONG_VERSION} Architecture: ${OS_ARCH} -Depends: python3, libpq5 +Depends: python3, libpq5 (>= 11.0) Recommends: postgresql-client | postgresql-client-12 | postgresql-client-11 | postgresql-client-10 Maintainer: pgAdmin Development Team Description: The core server package for pgAdmin. pgAdmin is the most popular and feature rich Open Source administration and development platform for PostgreSQL, the most advanced Open Source database in the world. @@ -106,3 +106,10 @@ EOF # Build the Debian meta package fakeroot dpkg-deb --build "${METAROOT}" "${DISTROOT}/${APP_NAME}_${APP_LONG_VERSION}_all.deb" + +# Get the libpq package +pushd ${DISTROOT} 1> /dev/null +apt-get download libpq5 +popd 1> /dev/null + +echo "Completed. DEBs created in ${DISTROOT}."