2 # postrm script for ca-certificates
4 # see: dh_installdeb(1)
8 # summary of how this script can be called:
11 # * <old-postrm> `upgrade' <new-version>
12 # * <new-postrm> `failed-upgrade' <old-version>
13 # * <new-postrm> `abort-install'
14 # * <new-postrm> `abort-install' <old-version>
15 # * <new-postrm> `abort-upgrade' <old-version>
16 # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
17 # for details, see /usr/share/doc/packaging-manual/
21 echo -n "Removing hash symlinks in /etc/ssl/certs ..."
22 find /etc/ssl/certs -type l -print | while read h
24 test -f "$h" || rm -f "$h"
30 rm -f /etc/ssl/certs/ca-certificates.crt*
31 rm -f /etc/ca-certificates.conf*
32 if test -e /usr/share/debconf/confmodule; then
33 . /usr/share/debconf/confmodule
38 upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
42 echo "postrm called with unknown argument \`$1'" >&2
47 # dh_installdeb will replace this with shell code automatically
48 # generated by other debhelper scripts.