Minor issue, umask rfkill only on uninstall

epel9
Mystro256 8 years ago
parent 8d30d02cfe
commit e7e9dbc05e

@ -91,7 +91,9 @@ systemctl mask systemd-rfkill.service
%postun %postun
%systemd_postun_with_restart tlp.service %systemd_postun_with_restart tlp.service
%systemd_postun_with_restart tlp-sleep.service %systemd_postun_with_restart tlp-sleep.service
systemctl unmask systemd-rfkill.service if [ $1 -eq 0 ] ; then
systemctl unmask systemd-rfkill.service
fi
%post rdw %post rdw
/bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || : /bin/systemctl enable NetworkManager-dispatcher.service >/dev/null 2>&1 || :

Loading…
Cancel
Save