freeipa-client.postrm: Remove nssdb files on purge. (Closes: #775387)

This commit is contained in:
Timo Aaltonen 2015-03-04 12:17:56 +02:00
parent d6095cbb02
commit d80f5e3046
2 changed files with 6 additions and 0 deletions

2
debian/changelog vendored
View File

@ -1,6 +1,8 @@
freeipa (4.0.5-3) UNRELEASED; urgency=medium
* rules: Set JAVA_STACK_SIZE to hopefully avoid FTBFS on exotic archs.
* freeipa-client.postrm: Remove nssdb files on purge. (Closes:
#775387)
-- Timo Aaltonen <tjaalton@debian.org> Wed, 04 Mar 2015 12:11:12 +0200

View File

@ -4,6 +4,10 @@ set -e
if [ "$1" = purge ]; then
rm -rf /var/lib/ipa-client
rm -f /etc/ipa/default.conf
rm -f /etc/pki/nssdb/cert8.db \
/etc/pki/nssdb/key3.db \
/etc/pki/nssdb/secmod.db
rmdir /etc/pki/nssdb
fi
#DEBHELPER#