fixes in the systemd unit files interaction
This commit is contained in:
parent
71329681e5
commit
f7b0746df6
@ -66,19 +66,16 @@ if [ $1 -ne 2 -a ! -f /etc/sysconfig/initial-setup ]; then
|
|||||||
else
|
else
|
||||||
%systemd_post initial-setup-graphical.service
|
%systemd_post initial-setup-graphical.service
|
||||||
%systemd_post initial-setup-text.service
|
%systemd_post initial-setup-text.service
|
||||||
%systemd_post initial-setup-xserver.service
|
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
%systemd_preun initial-setup-graphical.service
|
%systemd_preun initial-setup-graphical.service
|
||||||
%systemd_preun initial-setup-text.service
|
%systemd_preun initial-setup-text.service
|
||||||
%systemd_preun initial-setup-xserver.service
|
|
||||||
|
|
||||||
%postun
|
%postun
|
||||||
%systemd_postun_with_restart initial-setup-graphical.service
|
%systemd_postun_with_restart initial-setup-graphical.service
|
||||||
%systemd_postun_with_restart initial-setup-text.service
|
%systemd_postun_with_restart initial-setup-text.service
|
||||||
%systemd_postun_with_restart initial-setup-xserver.service
|
|
||||||
|
|
||||||
%files -f %{name}.lang
|
%files -f %{name}.lang
|
||||||
%doc COPYING README
|
%doc COPYING README
|
||||||
@ -91,7 +88,6 @@ fi
|
|||||||
|
|
||||||
%{_unitdir}/initial-setup-graphical.service
|
%{_unitdir}/initial-setup-graphical.service
|
||||||
%{_unitdir}/initial-setup-text.service
|
%{_unitdir}/initial-setup-text.service
|
||||||
%{_unitdir}/initial-setup-xserver.service
|
|
||||||
|
|
||||||
%ifarch s390 s390x
|
%ifarch s390 s390x
|
||||||
%{_sysconfdir}/profile.d/initial-setup.sh
|
%{_sysconfdir}/profile.d/initial-setup.sh
|
||||||
|
Loading…
Reference in New Issue
Block a user