Accepting request 845780 from X11:XOrg

OBS-URL: https://build.opensuse.org/request/show/845780
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=86
This commit is contained in:
Dominique Leuenberger 2020-11-05 20:54:34 +00:00 committed by Git OBS Bridge
commit 0d5e1ed486
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
-------------------------------------------------------------------
Tue Nov 3 14:38:22 UTC 2020 - Franck Bui <fbui@suse.com>
- Replace '%service_del_postun -n' with '%service_del_postun_without_restart'
'-n' is deprecated and will be removed in the future.
-------------------------------------------------------------------
Mon Oct 12 16:14:57 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -189,7 +189,7 @@ sed -i 's/DISPLAYMANAGER=.*//g' /etc/sysconfig/displaymanager
%postun
# Do not restart DM on update (bnc#886641)
%service_del_postun -n display-manager.service
%service_del_postun_without_restart display-manager.service
[ -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 \