From 670c19c1ec189d5831be4a4c09099036da4635ad Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 7 Apr 2024 18:02:19 +0200 Subject: Adding debian version 248. Signed-off-by: Daniel Baumann --- debian/postgresql-common.preinst | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 debian/postgresql-common.preinst (limited to 'debian/postgresql-common.preinst') diff --git a/debian/postgresql-common.preinst b/debian/postgresql-common.preinst new file mode 100644 index 0000000..7eeae45 --- /dev/null +++ b/debian/postgresql-common.preinst @@ -0,0 +1,19 @@ +#!/bin/sh + +set -e + +case "$1" in + install|upgrade) + dpkg-divert --package postgresql-common --rename --divert /usr/bin/pg_config.libpq-dev --add /usr/bin/pg_config + ;; + + abort-upgrade) + ;; + + *) + echo "$0 called with unknown argument \`$1'" 1>&2 + exit 1 + ;; +esac + +#DEBHELPER# -- cgit v1.2.3