summaryrefslogtreecommitdiffstats
path: root/debian/libpam-lastlog2.prerm
diff options
context:
space:
mode:
Diffstat (limited to 'debian/libpam-lastlog2.prerm')
-rwxr-xr-xdebian/libpam-lastlog2.prerm8
1 files changed, 8 insertions, 0 deletions
diff --git a/debian/libpam-lastlog2.prerm b/debian/libpam-lastlog2.prerm
new file mode 100755
index 0000000..218f2ee
--- /dev/null
+++ b/debian/libpam-lastlog2.prerm
@@ -0,0 +1,8 @@
+#!/bin/sh
+set -e
+
+if [ "$1" = remove ] && [ "${DPKG_MAINTSCRIPT_PACKAGE_REFCOUNT:-1}" = 1 ]; then
+ pam-auth-update --package --remove wtmpdb
+fi
+
+#DEBHELPER#