summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-doc-16.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:44:20 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-13 13:44:20 +0000
commit8bfbb9af55c60e9874aaa7f6e09c5531fad763ed (patch)
tree9577f8f52777ac32dee04d49fb7e07a441866dd7 /debian/postgresql-doc-16.prerm
parentAdding upstream version 16.2. (diff)
downloadpostgresql-16-8bfbb9af55c60e9874aaa7f6e09c5531fad763ed.tar.xz
postgresql-16-8bfbb9af55c60e9874aaa7f6e09c5531fad763ed.zip
Adding debian version 16.2-1.debian/16.2-1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-doc-16.prerm')
-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#