runit-void: load apparmor profiles from symlinks in /etc/apparmor.d
This commit is contained in:
parent
10778a19c3
commit
60262b97a7
2 changed files with 2 additions and 2 deletions
|
@ -18,7 +18,7 @@ if [ -n "$APPARMOR" ]; then
|
|||
[ "$APPARMOR" = "complain" ] && AACOMPLAIN="-C"
|
||||
|
||||
if [ -d /etc/apparmor.d -a -x /usr/bin/apparmor_parser ]; then
|
||||
apparmor_parser -a $AACOMPLAIN $(find /etc/apparmor.d -maxdepth 1 -type f ! -name '*.new-*_*')
|
||||
find -L /etc/apparmor.d -maxdepth 1 -type f ! -name '*.new-*_*' -exec apparmor_parser -a $AACOMPLAIN -- {} +
|
||||
else
|
||||
printf '! AppArmor installation problem - ensure you have installed apparmor package\n'
|
||||
fi
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'runit-void'
|
||||
pkgname=runit-void
|
||||
version=20250212
|
||||
revision=1
|
||||
revision=2
|
||||
build_style=gnu-makefile
|
||||
short_desc="Void Linux runit scripts"
|
||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue