- fixed %postun for older releases than factory/TW (see change
right below, which broke it) OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=231
This commit is contained in:
parent
3a8a96c51a
commit
abbff3411f
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Dec 1 12:08:44 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
- fixed %postun for older releases than factory/TW (see change
|
||||||
|
right below, which broke it)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Tue Nov 3 14:38:22 UTC 2020 - Franck Bui <fbui@suse.com>
|
Tue Nov 3 14:38:22 UTC 2020 - Franck Bui <fbui@suse.com>
|
||||||
|
|
||||||
|
4
xdm.spec
4
xdm.spec
@ -189,7 +189,11 @@ sed -i 's/DISPLAYMANAGER=.*//g' /etc/sysconfig/displaymanager
|
|||||||
|
|
||||||
%postun
|
%postun
|
||||||
# Do not restart DM on update (bnc#886641)
|
# Do not restart DM on update (bnc#886641)
|
||||||
|
%if 0%{?suse_version} >= 1550
|
||||||
%service_del_postun_without_restart display-manager.service
|
%service_del_postun_without_restart display-manager.service
|
||||||
|
%else
|
||||||
|
%service_del_postun -n display-manager.service
|
||||||
|
%endif
|
||||||
[ -f /usr/lib/X11/displaymanagers/console ] || %{_sbindir}/update-alternatives \
|
[ -f /usr/lib/X11/displaymanagers/console ] || %{_sbindir}/update-alternatives \
|
||||||
--remove default-displaymanager /usr/lib/X11/displaymanagers/console
|
--remove default-displaymanager /usr/lib/X11/displaymanagers/console
|
||||||
[ -f /usr/lib/X11/displaymanagers/xdm ] || %{_sbindir}/update-alternatives \
|
[ -f /usr/lib/X11/displaymanagers/xdm ] || %{_sbindir}/update-alternatives \
|
||||||
|
Loading…
Reference in New Issue
Block a user