diff --git a/root/usr/share/libalpm/hooks/apparmor.hook b/root/usr/share/libalpm/hooks/apparmor.hook new file mode 100644 index 00000000..3b502096 --- /dev/null +++ b/root/usr/share/libalpm/hooks/apparmor.hook @@ -0,0 +1,10 @@ +[Trigger] +Type = Package +Operation = Install +Operation = Upgrade +Target = etc/apparmor.d/* + +[Action] +Description = Reloading AppArmor service... +When = PostTransaction +Exec = /usr/bin/systemctl reload apparmor.service \ No newline at end of file