SHA256
1
0
forked from pool/xdm

Accepting request 845757 from home:fbui:branches:X11:XOrg

- Replace  '%service_del_postun -n' with '%service_del_postun_without_restart'
  '-n' is deprecated and will be removed in the future.

OBS-URL: https://build.opensuse.org/request/show/845757
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=229
This commit is contained in:
Stefan Dirsch 2020-11-03 15:49:34 +00:00 committed by Git OBS Bridge
parent a0e4ad3312
commit 3a8a96c51a
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 \