diff options
author | Steve Langasek <vorlon@debian.org> | 2008-08-19 23:03:03 -0700 |
---|---|---|
committer | Steve Langasek <steve.langasek@ubuntu.com> | 2019-01-03 17:28:24 -0800 |
commit | 5cb1deba449ebce5745efaa92c2a37051ee87848 (patch) | |
tree | c670f37690d04363682fa9584cb6547120933954 /debian/libpam-runtime.postrm | |
parent | 119e62b26822630cb0a4b4012cfb2329678a3c78 (diff) | |
download | pam-5cb1deba449ebce5745efaa92c2a37051ee87848.tar.gz pam-5cb1deba449ebce5745efaa92c2a37051ee87848.tar.bz2 pam-5cb1deba449ebce5745efaa92c2a37051ee87848.zip |
and also remove the /var/lib/pam directory itself
Diffstat (limited to 'debian/libpam-runtime.postrm')
-rw-r--r-- | debian/libpam-runtime.postrm | 1 |
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# |