summaryrefslogtreecommitdiffstats
path: root/debian/libpam-lastlog2.prerm
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:23:32 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-03 05:23:32 +0000
commitb97c99044e615064f924dafa52c7600951b56a85 (patch)
tree939e21195ab4de680bd343fa59040d8670dc9685 /debian/libpam-lastlog2.prerm
parentAdding debian version 2.40.1-4. (diff)
downloadutil-linux-b97c99044e615064f924dafa52c7600951b56a85.tar.xz
util-linux-b97c99044e615064f924dafa52c7600951b56a85.zip
Adding debian version 2.40.1-6.debian/2.40.1-6
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-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#