Configure: update profile dirs.

This commit is contained in:
Alexandre Pujol 2021-09-15 16:57:38 +01:00
parent d95a876424
commit 5cc6fd5c08
No known key found for this signature in database
GPG Key ID: C5469996F0DF68EC

2
configure vendored
View File

@ -62,7 +62,7 @@ initialise() {
echo "Synchronise all profiles."
mv "${ROOT:?}/apparmor.d/groups/"*/* "${ROOT:?}/apparmor.d/"
rm -rf "${ROOT:?}/apparmor.d/groups/"
for dir in profiles-a-l profiles-m-z; do
for dir in profiles-a-f profiles-g-l profiles-m-r profiles-s-z; do
mv "${ROOT:?}/apparmor.d/$dir/"* "${ROOT:?}/apparmor.d/"
rm -rf "${ROOT:?}/apparmor.d/$dir"
done