summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-08-19 23:02:06 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:24 -0800
commit119e62b26822630cb0a4b4012cfb2329678a3c78 (patch)
tree862757211c682fdf3f9432cb0bb7916c5eb7c243
parent9dbdc22d611cd6143e02749f4e1c9f54bda2494e (diff)
in the unlikely event of purging libpam-runtime, take care of /var/lib/pam as
well
-rw-r--r--debian/libpam-runtime.postrm2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/libpam-runtime.postrm b/debian/libpam-runtime.postrm
index c2e4a94f..8b525e3a 100644
--- a/debian/libpam-runtime.postrm
+++ b/debian/libpam-runtime.postrm
@@ -3,6 +3,8 @@
if [ "$1" = "purge" ]; then
rm -f /etc/pam.d/common-auth /etc/pam.d/common-account \
/etc/pam.d/common-session /etc/pam.d/common-password
+ rm -f /var/lib/pam/auth /var/lib/pam/account /var/lib/pam/session \
+ /var/lib/pam/password
fi
#DEBHELPER#