SHA256
1
0
forked from pool/xdm

Accepting request 952627 from home:dirkmueller:branches:openSUSE:Factory:Rings:1-MinimalX

- fix bashism in postinstall script (bsc#1195391)

OBS-URL: https://build.opensuse.org/request/show/952627
OBS-URL: https://build.opensuse.org/package/show/X11:XOrg/xdm?expand=0&rev=244
This commit is contained in:
Stefan Dirsch 2022-02-10 09:54:15 +00:00 committed by Git OBS Bridge
parent 011725a59e
commit 385611f8c6
2 changed files with 6 additions and 1 deletions

View File

@ -5,6 +5,11 @@ Wed Feb 9 16:55:31 UTC 2022 - Stefan Dirsch <sndirsch@suse.com>
xdm and the xdmbgrd package is required by anyone and not silently
dropped by accident (boo#1195664)
-------------------------------------------------------------------
Tue Feb 8 08:47:28 UTC 2022 - Dirk Müller <dmueller@suse.com>
- fix bashism in postinstall script (bsc#1195391)
-------------------------------------------------------------------
Fri Nov 19 16:12:35 UTC 2021 - Stefan Dirsch <sndirsch@suse.com>

View File

@ -179,7 +179,7 @@ touch %{buildroot}%{_prefix}/lib/X11/displaymanagers/console
%post
# enable Xorg on s390x with virtio (Redhat PCI ID 1af4:1050) on installation (but not upgrade)
if [ $1 -eq 1 ] ; then
if [ "$(arch)" == "s390x" ]; then
if [ "$(arch)" = "s390x" ]; then
if [ -d /dev/dri ]; then
sed -i -e "s+DISPLAYMANAGER_REMOTE_ACCESS=.*+DISPLAYMANAGER_REMOTE_ACCESS=\"no\"+g" \
-e "s+DISPLAYMANAGER_STARTS_XSERVER=.*+DISPLAYMANAGER_STARTS_XSERVER=\"yes\"+g" \