From ae09e15ef846b4b5b7664f375d31a2e635585aa6 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 6 May 2024 03:48:40 +0200 Subject: Adding debian version 200+deb10u5. 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