Skip to content

Commit

Permalink
reload apparmor profiles after installation
Browse files Browse the repository at this point in the history
to make package work after installation

no longer requiring reboot
  • Loading branch information
adrelanos committed Apr 7, 2021
1 parent 3242a0f commit 57e1b3a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion debian/control
Expand Up @@ -5,7 +5,7 @@ Source: anon-gw-anonymizer-config
Section: misc
Priority: optional
Maintainer: Patrick Schleizer <adrelanos@whonix.org>
Build-Depends: debhelper (>= 12), config-package-dev
Build-Depends: debhelper (>= 12), config-package-dev, dh-apparmor
Homepage: https://github.com/Whonix/anon-gw-anonymizer-config
Vcs-Browser: https://github.com/Whonix/anon-gw-anonymizer-config
Vcs-Git: https://github.com/Whonix/anon-gw-anonymizer-config.git
Expand Down
5 changes: 5 additions & 0 deletions debian/rules
Expand Up @@ -8,6 +8,11 @@
%:
dh $@ --with=config-package

override_dh_install:
dh_apparmor --profile-name=system_tor
dh_apparmor --profile-name=usr.bin.obfsproxy
dh_install

override_dh_installman:
dh_installman $(CURDIR)/auto-generated-man-pages/*

Expand Down

0 comments on commit 57e1b3a

Please sign in to comment.