summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-doc-16.prerm
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--debian/postgresql-doc-16.prerm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/postgresql-doc-16.prerm b/debian/postgresql-doc-16.prerm
new file mode 100644
index 0000000..9b72239
--- /dev/null
+++ b/debian/postgresql-doc-16.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#