[Pkg-privacy-commits] [torbrowser-launcher] 277/476: debian/rules: call dh_apparmor for each shipped profile (Closes: #755817)
Ximin Luo
infinity0 at moszumanska.debian.org
Sat Aug 22 13:21:45 UTC 2015
This is an automated email from the git hooks/post-receive script.
infinity0 pushed a commit to branch debian
in repository torbrowser-launcher.
commit d27af2bd813a1e6963838c200d001cef4d9ebf8d
Author: Holger Levsen <holger at layer-acht.org>
Date: Sat Jul 26 14:38:25 2014 +0200
debian/rules: call dh_apparmor for each shipped profile (Closes: #755817)
---
debian/rules | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/debian/rules b/debian/rules
index 0258b14..5dc74f3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -7,8 +7,7 @@
dh $@ --with python2 --buildsystem=python_distutils
override_dh_install:
- cp apparmor/usr.bin.torbrowser-launcher debian/torbrowser-launcher/etc/apparmor.d/usr.bin.torbrowser-launcher
- cp apparmor/torbrowser.Tor.tor debian/torbrowser-launcher/etc/apparmor.d/torbrowser.Tor.tor
- cp apparmor/torbrowser.start-tor-browser debian/torbrowser-launcher/etc/apparmor.d/torbrowser.start-tor-browser
- cp apparmor/torbrowser.Browser.firefox debian/torbrowser-launcher/etc/apparmor.d/torbrowser.Browser.firefox
- dh_apparmor --profile-name=usr.bin.torbrowser-launcher -ptorbrowser-launcher
+ for PROFILE in usr.bin.torbrowser-launcher torbrowser.Tor.tor torbrowser.start-tor-browser torbrowser.Browser.firefox ; do \
+ cp apparmor/$$PROFILE debian/torbrowser-launcher/etc/apparmor.d/ ; \
+ dh_apparmor --profile-name=$$PROFILE -ptorbrowser-launcher ; \
+ done
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-privacy/packages/torbrowser-launcher.git
More information about the Pkg-privacy-commits
mailing list