fixes in the systemd unit files interaction

This commit is contained in:
Martin Sivak 2013-03-08 14:24:22 +01:00
parent 71329681e5
commit f7b0746df6
2 changed files with 1 additions and 5 deletions

View File

@ -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

View File

@ -1 +1 @@
0715ac98526d15fdf5384d7c7e650dd3 initial-setup-0.2.tar.gz a912ea8262d0a2ba49e2beba2a721b5f initial-setup-0.2.tar.gz