/mandos/trunk

To get this branch, use:
bzr branch http://bzr.recompile.se/loggerhead/mandos/trunk

« back to all changes in this revision

Viewing changes to debian/mandos-client.postrm

  • Committer: Teddy Hogeborn
  • Date: 2011-10-14 18:36:15 UTC
  • mfrom: (505.1.17 teddy)
  • Revision ID: teddy@recompile.se-20111014183615-xjmowtkz3ete2smd
Merge from Teddy:

Bug fixes: Make D-Bus properties settable again, and handle checkers
for disabled clients correctly.

* mandos (ClientDBus.notifychangeproperty/setter): Bug fix: pass
                                                   variant_level as a
                                                   keyword argument.
  (ClientDBus.Timeout_dbus_property): Bug fix: call function
                                      _timedelta_to_milliseconds in
                                      its new position as a global
                                      function.
  (Client.checked_ok): Bug fix: Handle disabled client.
* mandos-ctl (main): Bug fix: Handle empty strings correctly.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -e
 
1
#!/bin/sh
2
2
# This script can be called in the following ways:
3
3
#
4
4
# After the package was removed:
26
26
# If preinst fails during upgrade:
27
27
#       <new-postrm> abort-upgrade <old-version>
28
28
 
 
29
set -e
29
30
 
30
31
# Update the initial RAM file system image
31
32
update_initramfs()
45
46
        rm --force /etc/mandos/plugin-runner.conf \
46
47
            /etc/keys/mandos/pubkey.txt \
47
48
            /etc/keys/mandos/seckey.txt 2>/dev/null
 
49
        update_initramfs
48
50
        ;;
49
51
    upgrade|failed-upgrade|disappear|abort-install|abort-upgrade)
50
52
        ;;
51
53
 
52
54
    *)
53
 
        echo "$0 called with unknown argument \`$1'" 1>&2
 
55
        echo "$0 called with unknown argument '$1'" 1>&2
54
56
        exit 1
55
57
        ;;
56
58
esac