SHA256
1
0
forked from pool/xdm

Accepting request 674644 from X11:XOrg

- %post: get rid of DISPLAYMANAGER in /etc/sysconfig/displaymanager
  (boo#1125040)

OBS-URL: https://build.opensuse.org/request/show/674644
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xdm?expand=0&rev=74
This commit is contained in:
Stephan Kulow 2019-02-24 16:06:40 +00:00 committed by Git OBS Bridge
commit 3be3e7f924
2 changed files with 9 additions and 1 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Wed Feb 13 15:47:45 UTC 2019 - sndirsch@suse.com
- %post: get rid of DISPLAYMANAGER in /etc/sysconfig/displaymanager
(boo#1125040)
-------------------------------------------------------------------
Tue Dec 11 08:06:00 UTC 2018 - msrb@suse.com

View File

@ -1,7 +1,7 @@
#
# spec file for package xdm
#
# Copyright (c) 2018 SUSE LINUX GmbH, Nuernberg, Germany.
# Copyright (c) 2019 SUSE LINUX GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@ -224,6 +224,8 @@ touch %{buildroot}%{_libexecdir}/X11/displaymanagers/console
default-displaymanager %{_libexecdir}/X11/displaymanagers/console 5
%{_sbindir}/update-alternatives --install %{_libexecdir}/X11/displaymanagers/default-displaymanager \
default-displaymanager %{_libexecdir}/X11/displaymanagers/xdm 10
# get rid of DISPLAYMANAGER in /etc/sysconfig/displaymanager (boo#1125040)
sed -i 's/DISPLAYMANAGER=.*//g' /etc/sysconfig/displaymanager
%endif
%if 0%{?suse_version} > 1320
%firewalld_reload