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:
parent
a0e4ad3312
commit
3a8a96c51a
@ -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>
|
Mon Oct 12 16:14:57 UTC 2020 - Stefan Dirsch <sndirsch@suse.com>
|
||||||
|
|
||||||
|
2
xdm.spec
2
xdm.spec
@ -189,7 +189,7 @@ 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)
|
||||||
%service_del_postun -n display-manager.service
|
%service_del_postun_without_restart display-manager.service
|
||||||
[ -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