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"
|
[ "$APPARMOR" = "complain" ] && AACOMPLAIN="-C"
|
||||||
|
|
||||||
if [ -d /etc/apparmor.d -a -x /usr/bin/apparmor_parser ]; then
|
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
|
else
|
||||||
printf '! AppArmor installation problem - ensure you have installed apparmor package\n'
|
printf '! AppArmor installation problem - ensure you have installed apparmor package\n'
|
||||||
fi
|
fi
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
# Template file for 'runit-void'
|
# Template file for 'runit-void'
|
||||||
pkgname=runit-void
|
pkgname=runit-void
|
||||||
version=20250212
|
version=20250212
|
||||||
revision=1
|
revision=2
|
||||||
build_style=gnu-makefile
|
build_style=gnu-makefile
|
||||||
short_desc="Void Linux runit scripts"
|
short_desc="Void Linux runit scripts"
|
||||||
maintainer="Enno Boland <gottox@voidlinux.org>"
|
maintainer="Enno Boland <gottox@voidlinux.org>"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue