summaryrefslogtreecommitdiffstats
path: root/debian/postgresql-16.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/postgresql-16.prerm')
-rw-r--r--debian/postgresql-16.prerm16
1 files changed, 16 insertions, 0 deletions
diff --git a/debian/postgresql-16.prerm b/debian/postgresql-16.prerm
new file mode 100644
index 0000000..828c6fb
--- /dev/null
+++ b/debian/postgresql-16.prerm
@@ -0,0 +1,16 @@
+#!/bin/sh
+
+set -e
+
+VERSION=${DPKG_MAINTSCRIPT_PACKAGE##*-}
+
+#DEBHELPER#
+
+. /usr/share/postgresql-common/maintscripts-functions
+
+stop_version $VERSION
+
+if [ "$1" = remove ]; then
+ remove_version $VERSION
+fi
+