Remove %systemd_postun_with_restart from %postun

Signed-off-by: Vitezslav Crhonek <vcrhonek@redhat.com>
This commit is contained in:
Vitezslav Crhonek 2021-06-22 10:21:20 +02:00
parent b547bf6999
commit 3eac5068a8

View File

@ -184,8 +184,6 @@ fi
if [ $1 -eq 0 ]; then
%selinux_modules_uninstall -s %{selinuxtype} %{modulename}
%selinux_relabel_post -s %{selinuxtype}
# the service needs to be restarted for the custom label to be removed
%systemd_postun_with_restart mrtg.service
fi
%endif