summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Langasek <vorlon@debian.org>2008-08-19 23:03:03 -0700
committerSteve Langasek <steve.langasek@ubuntu.com>2019-01-03 17:28:24 -0800
commit5cb1deba449ebce5745efaa92c2a37051ee87848 (patch)
treec670f37690d04363682fa9584cb6547120933954
parent119e62b26822630cb0a4b4012cfb2329678a3c78 (diff)
and also remove the /var/lib/pam directory itself
-rw-r--r--debian/libpam-runtime.postrm1
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/libpam-runtime.postrm b/debian/libpam-runtime.postrm
index 8b525e3a..c487546d 100644
--- a/debian/libpam-runtime.postrm
+++ b/debian/libpam-runtime.postrm
@@ -5,6 +5,7 @@ if [ "$1" = "purge" ]; then
/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
+ rmdir --ignore-fail-on-non-empty /var/lib/pam
fi
#DEBHELPER#