summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-doc-14.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:15:08 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-05-04 12:15:08 +0000
commitc8f4a18517306b8e4f0c467df5c021593c47e550 (patch)
treea485b32d21dc418a66ef7fc9ef93ca29fed61573 /debian/postgresql-doc-14.prerm
parentAdding upstream version 14.5. (diff)
downloadpostgresql-14-c8f4a18517306b8e4f0c467df5c021593c47e550.tar.xz
postgresql-14-c8f4a18517306b8e4f0c467df5c021593c47e550.zip
Adding debian version 14.5-3.debian/14.5-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--debian/postgresql-doc-14.prerm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/postgresql-doc-14.prerm b/debian/postgresql-doc-14.prerm
new file mode 100644
index 0000000..9b72239
--- /dev/null
+++ b/debian/postgresql-doc-14.prerm
@@ -0,0 +1,17 @@
+#!/bin/sh
+
+set -e
+
+VERSION=${DPKG_MAINTSCRIPT_PACKAGE##*-}
+
+if [ "$1" = remove ]; then
+ if [ -f /usr/share/postgresql-common/maintscripts-functions ]; then
+ . /usr/share/postgresql-common/maintscripts-functions
+ remove_doc_version $VERSION
+ else
+ update-alternatives --remove SPI_connect.3.gz \
+ /usr/share/postgresql/$VERSION/man/man3/SPI_connect.3.gz
+ fi
+fi
+
+#DEBHELPER#