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
|
just destdir="%{buildroot}" install
|
||||||
|
|
||||||
%posttrans
|
%posttrans
|
||||||
rm -f /var/cache/apparmor/* 2>/dev/null
|
apparmor_parser --purge-cache
|
||||||
systemctl is-active -q apparmor && systemctl reload apparmor ||:
|
%restart_on_update apparmor
|
||||||
|
|
||||||
%files
|
%files
|
||||||
%license LICENSE
|
%license LICENSE
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue