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