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