summaryrefslogtreecommitdiffstats
path: root/debian/libpam-winbind.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libpam-winbind.prerm')
-rw-r--r--debian/libpam-winbind.prerm9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/libpam-winbind.prerm b/debian/libpam-winbind.prerm
new file mode 100644
index 0000000..ad655ca
--- /dev/null
+++ b/debian/libpam-winbind.prerm
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if [ "$1" = remove ] && [ "${DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT:-1}" = 1 ]; then
+ pam-auth-update --package --remove winbind
+fi
+
+#DEBHELPER#