/mandos/release

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

« back to all changes in this revision

Viewing changes to debian/mandos-client.postrm

Code cleanup.

* mandos: Move some global stuff into classes.
  (server, group): Moved into "AvahiService".  All users changed.
  (AvahiService.group, AvahiService.server): New attributes.
  (entry_group_state_changed, server_state_changed): Moved into
                                                     "AvahiService".
                                                     All callers
                                                     changed.
  (AvahiService.cleanup, AvahiService.activate): New.
  (_datetime_to_dbus): Moved into "ClientDBus".  All callers changed.
  (ClientDBus._datetime_to_dbus): New.

Show diffs side-by-side

added added

removed removed

Lines of Context:
45
45
        rm --force /etc/mandos/plugin-runner.conf \
46
46
            /etc/keys/mandos/pubkey.txt \
47
47
            /etc/keys/mandos/seckey.txt 2>/dev/null
48
 
        update_initramfs
49
48
        ;;
50
49
    upgrade|failed-upgrade|disappear|abort-install|abort-upgrade)
51
50
        ;;