summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-doc-15.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:46:52 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-16 19:46:52 +0000
commit27f97da3234235dd7aa61330a8e05aacf93d026a (patch)
tree31c1a208b91fab0b07f980580cd7d5d8ae9c6f74 /debian/postgresql-doc-15.prerm
parentAdding upstream version 15.4. (diff)
downloadpostgresql-15-debian.tar.xz
postgresql-15-debian.zip
Adding debian version 15.4-3.debian/15.4-3debian
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/postgresql-doc-15.prerm')
-rw-r--r--debian/postgresql-doc-15.prerm17
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/postgresql-doc-15.prerm b/debian/postgresql-doc-15.prerm
new file mode 100644
index 0000000..9b72239
--- /dev/null
+++ b/debian/postgresql-doc-15.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#