SHA256
1
0
forked from pool/xdm

Accepting request 853804 from X11:XOrg

Automatic submission by obs-autosubmit

OBS-URL: https://build.opensuse.org/request/show/853804
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=87
This commit is contained in:
Dominique Leuenberger 2020-12-10 14:56:03 +00:00 committed by Git OBS Bridge
commit 7326bb24bb
2 changed files with 10 additions and 0 deletions

View File

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

View File

@ -189,7 +189,11 @@ sed -i 's/DISPLAYMANAGER=.*//g' /etc/sysconfig/displaymanager
%postun
# Do not restart DM on update (bnc#886641)
%if 0%{?suse_version} >= 1550
%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 \
--remove default-displaymanager /usr/lib/X11/displaymanagers/console
[ -f /usr/lib/X11/displaymanagers/xdm ] || %{_sbindir}/update-alternatives \