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