20090814 (patches unapplied)

Imported using git-ubuntu import.
This commit is contained in:
Philipp Kern 2009-08-14 11:10:00 +02:00 committed by git-ubuntu importer
parent d950872296
commit f8777a50c8
Notes: git-ubuntu importer 2020-07-14 23:24:53 +00:00
  * Call Debconf and its db_purge as early as possible in postrm.
    (Closes: #541275)
4 changed files with 17 additions and 6 deletions

7
debian/changelog vendored
View file

@ -1,3 +1,10 @@
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)

2
debian/config vendored
View file

@ -5,7 +5,7 @@ set -e
action="$1"
cur_version="$2"
this_version='20090709'
this_version='20090814'
pt_BR_fixed_version="20080616"
if test -f /etc/ca-certificates.conf; then

12
debian/postrm vendored
View file

@ -16,6 +16,14 @@ set -e
# * <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
@ -45,10 +53,6 @@ case "$1" in
[ -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)

2
debian/rules vendored
View file

@ -59,7 +59,7 @@ install: build
binary-indep: build install
dh_testdir
dh_testroot
dh_installdebconf
dh_installdebconf -n
dh_installdocs
dh_installexamples
dh_installman sbin/update-ca-certificates.8