/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: 2016-06-23 19:46:41 UTC
  • Revision ID: teddy@recompile.se-20160623194641-dsokb8mz3wki07mv
Fix permissions of /etc/mandos/plugin-helpers.

* debian/rules (override_dh_fixperms-arch): Also exclude
  "etc/mandos/plugin-helpers" from changes by dh_fixperms.
* debian/mandos-client.postinst: Fix the permissions of
  "/etc/mandos/plugin-helpers" for those systems which had a fresh
  install of an older version.

Show diffs side-by-side

added added

removed removed

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