+ca-certificates (20090814) unstable; urgency=low
+
+ * Call Debconf and its db_purge as early as possible in postrm.
+ (Closes: #541275)
+
+ -- Philipp Kern <pkern@debian.org> Fri, 14 Aug 2009 11:10:00 +0200
+
ca-certificates (20090709) unstable; urgency=low
* Fix purge by checking for `/etc/ssl/certs' first. (Closes: #536331)
# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
# for details, see /usr/share/doc/packaging-manual/
+# Clear the debconf database as early as possible and signal debconf that
+# we are done with it.
+if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
+ . /usr/share/debconf/confmodule
+ db_purge
+ db_stop
+fi
+
remove_dangling_symlinks() {
if ! [ -d /etc/ssl/certs ]
then
[ -d /etc/ssl ] && rmdir --ignore-fail-on-non-empty /etc/ssl
rm -f /etc/ca-certificates.conf*
- if test -e /usr/share/debconf/confmodule; then
- . /usr/share/debconf/confmodule
- db_purge
- fi
;;
upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)