diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:48:40 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-05-06 01:48:40 +0000 |
commit | ae09e15ef846b4b5b7664f375d31a2e635585aa6 (patch) | |
tree | 229bb55c1647dfa88110e88139294c1131b8e5c6 /debian/postgresql-common.preinst | |
parent | Adding upstream version 200+deb10u5. (diff) | |
download | postgresql-common-debian.tar.xz postgresql-common-debian.zip |
Adding debian version 200+deb10u5.debian/200+deb10u5debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-common.preinst')
-rw-r--r-- | debian/postgresql-common.preinst | 19 |
1 files changed, 19 insertions, 0 deletions
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# |