mirror of
https://github.com/roddhjav/apparmor.d.git
synced 2024-11-15 07:54:17 +01:00
Configure: update profile dirs.
This commit is contained in:
parent
d95a876424
commit
5cc6fd5c08
2
configure
vendored
2
configure
vendored
@ -62,7 +62,7 @@ initialise() {
|
|||||||
echo "Synchronise all profiles."
|
echo "Synchronise all profiles."
|
||||||
mv "${ROOT:?}/apparmor.d/groups/"*/* "${ROOT:?}/apparmor.d/"
|
mv "${ROOT:?}/apparmor.d/groups/"*/* "${ROOT:?}/apparmor.d/"
|
||||||
rm -rf "${ROOT:?}/apparmor.d/groups/"
|
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/"
|
mv "${ROOT:?}/apparmor.d/$dir/"* "${ROOT:?}/apparmor.d/"
|
||||||
rm -rf "${ROOT:?}/apparmor.d/$dir"
|
rm -rf "${ROOT:?}/apparmor.d/$dir"
|
||||||
done
|
done
|
||||||
|
Loading…
Reference in New Issue
Block a user