/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: 2019-02-10 10:39:26 UTC
  • Revision ID: teddy@recompile.se-20190210103926-gdkbgjcf81yvhfjo
Bug fix: Ignore some failures to remove files.

* debian/mandos-client.postinst (create_keys): Ignore failure to
                                               remove bad keys.
* mandos-keygen (keygen): Ignore failure to remove files in some
                          cases.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
        rm --force /etc/mandos/plugin-runner.conf \
45
45
            /etc/keys/mandos/pubkey.txt \
46
46
            /etc/keys/mandos/seckey.txt \
 
47
            /etc/keys/mandos/tls-privkey.pem \
 
48
            /etc/keys/mandos/tls-pubkey.pem \
47
49
            /etc/keys/mandos/dhparams.pem 2>/dev/null
48
50
        update_initramfs
49
51
        ;;