Skip to content
Snippets Groups Projects
Commit c88213ba authored by intrigeri's avatar intrigeri
Browse files

Put the irssi profile in complain mode (Closes: #866792).

parent a495b510
No related branches found
Tags debian/1.14
No related merge requests found
......@@ -3,6 +3,7 @@
PROFILES_DIR = $(CURDIR)/profiles
PROFILES = $(shell find $(PROFILES_DIR) -type f -maxdepth 1 | LC_ALL=C sort)
PROFILE_NAMES = $(notdir $(PROFILES))
COMPLAIN_PROFILE_NAMES = usr.bin.irssi
%:
dh $@
......@@ -16,6 +17,10 @@ override_dh_install:
set -ex && for profile in $(PROFILE_NAMES); do \
dh_apparmor --profile-name=$$profile -papparmor-profiles-extra; \
done
for profile in $(COMPLAIN_PROFILE_NAMES); do \
sh $(CURDIR)/debian/scripts/put-profile-in-complain-mode \
$(CURDIR)/debian/apparmor-profiles-extra/etc/apparmor.d/$$profile; \
done
override_dh_auto_test:
mkdir -p tests/local
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment