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/
22 echo -n "Removing hash symlinks in /etc/ssl/certs ..."
23 find . -type l -print | while read h
25 test -f $h || rm -f $h
31 rm -f /etc/ssl/certs/ca-certificates.crt*
32 rm -f /etc/ca-certificates.conf*
33 if test -e /usr/share/debconf/confmodule; then
34 . /usr/share/debconf/confmodule
39 upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
43 echo "postrm called with unknown argument \`$1'" >&2
48 # dh_installdeb will replace this with shell code automatically
49 # generated by other debhelper scripts.