build: opensuse: improve post install script.
This commit is contained in:
parent
be341a4ca8
commit
e805509803
1 changed files with 2 additions and 2 deletions
|
|
@ -32,8 +32,8 @@ just complain
|
|||
just destdir="%{buildroot}" install
|
||||
|
||||
%posttrans
|
||||
rm -f /var/cache/apparmor/* 2>/dev/null
|
||||
systemctl is-active -q apparmor && systemctl reload apparmor ||:
|
||||
apparmor_parser --purge-cache
|
||||
%restart_on_update apparmor
|
||||
|
||||
%files
|
||||
%license LICENSE
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue