Requires(pre): /usr/sbin/groupadd
Requires(pre): /usr/sbin/useradd
Requires(posttrans): dconf
-Requires(post,preun,postun): systemd-units >= 38
Requires: %{name}-libs = %{epoch}:%{version}-%{release}
Requires: /usr/bin/X
Requires: accountsservice >= 0.6.12
Requires: hicolor-icon-theme
Requires: pam >= 0.99.7.1
Requires: polkit-gnome >= 0.93
-Requires: systemd-units >= 38
Requires: which
Requires: xinitrc-ng >= 1.0
Requires: xorg-app-sessreg
Summary(pl.UTF-8): Skrypt init dla GDM-a
Group: X11/Applications
Requires(post,preun): /sbin/chkconfig
+Requires(post,preun,postun): systemd-units >= 38
Requires: %{name} = %{epoch}:%{version}-%{release}
Requires: open
Requires: rc-scripts >= 0.4.3.0
+Requires: systemd-units >= 38
%description init
Init script for GDM.
%post
%glib_compile_schemas
%update_icon_cache hicolor
-%systemd_reload
%postun
%update_icon_cache hicolor
-%systemd_reload
-
if [ "$1" = "0" ]; then
%glib_compile_schemas
%userremove xdm
/sbin/chkconfig --add gdm
# -n skips restarting as it would otherise terminate all sessions opened from gdm!
%service -n gdm restart
+%systemd_reload
+
+%postun init
+%systemd_reload
%preun init
if [ "$1" = "0" ]; then