apparmor-rpm-macros/macros.apparmor
Christian Boltz c398ebccdb - %apparmor_reload: skip and regenerate cache to make sure the latest
profile gets always used (even if the existing cache is newer)
- Initial creation of macro, only contains %apparmor_reload

OBS-URL: https://build.opensuse.org/package/show/security:apparmor/apparmor-rpm-macros?expand=0&rev=5
2017-08-26 19:14:47 +00:00

6 lines
137 B
Plaintext

%apparmor_reload()\
if [ "$YAST_IS_RUNNING" != "instsys" ]; then\
/sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
fi\
%{nil}