~ubuntu-branches/ubuntu/trusty/ca-certificates/trusty-proposed

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Fumitoshi UKAI
  • Date: 2004-08-09 03:23:20 UTC
  • mfrom: (1.1.1 warty)
  • Revision ID: james.westby@ubuntu.com-20040809032320-29vpp5g9f4xroy2g
Tags: 20040809
previous version was not fixed Bug#255933 correctly.
update-ca-certificates now remove symlinks of deselected entries 
in ca-certificates.conf
closes: Bug#255933

Show diffs side-by-side

added added

removed removed

Lines of Context:
17
17
# for details, see /usr/share/doc/packaging-manual/
18
18
 
19
19
case "$1" in
20
 
       purge)
 
20
    remove)
21
21
       cd /etc/ssl/certs
22
22
       echo -n "Removing hash symlinks in /etc/ssl/certs ..."
23
23
       find . -type l -print | while read h
27
27
       echo done.
28
28
       ;;
29
29
 
30
 
       remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 
30
    purge)
 
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
 
35
         db_purge
 
36
       fi
 
37
       ;;
 
38
 
 
39
    upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
31
40
        ;;
32
41
 
33
42
    *)