summaryrefslogtreecommitdiffstats
path: root/debian/libpam-cracklib.postinst
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libpam-cracklib.postinst')
-rw-r--r--debian/libpam-cracklib.postinst9
1 files changed, 9 insertions, 0 deletions
diff --git a/debian/libpam-cracklib.postinst b/debian/libpam-cracklib.postinst
new file mode 100644
index 0000000..cf52f26
--- /dev/null
+++ b/debian/libpam-cracklib.postinst
@@ -0,0 +1,9 @@
+#!/bin/sh
+
+set -e
+
+if dpkg --compare-versions "$2" lt 1.0.1-6; then
+ pam-auth-update --package
+fi
+
+#DEBHELPER#