apparmor-rpm-macros/macros.apparmor

8 lines
235 B
Plaintext
Raw Permalink Normal View History

%apparmor_reload()\
if [ "$YAST_IS_RUNNING" != "instsys" -a -x /usr/bin/systemctl ]; then\
if /usr/bin/systemctl is-active --quiet apparmor.service; then\
/sbin/apparmor_parser -r -T -W %{?*} &> /dev/null || :\
fi\
fi\
%{nil}