SHA256
1
0
forked from pool/xinit

Accepting request 306176 from X11:XOrg

1

OBS-URL: https://build.opensuse.org/request/show/306176
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/xinit?expand=0&rev=18
This commit is contained in:
Stephan Kulow
2015-05-15 05:42:38 +00:00
committed by Git OBS Bridge
2 changed files with 9 additions and 2 deletions

View File

@@ -31,7 +31,7 @@ Index: xinit-1.3.4/startx.cpp
+XCOMM
+XCOMM find wmlist utility, else take twm as default (always there :-))
+XCOMM
+type -p wmlist &> /dev/null && WMLIST="`for i in $(wmlist); do echo $i; done | sort`"
+type wmlist >/dev/null 2>&1 && WMLIST="`for i in $(wmlist); do echo $i; done | sort`"
+test -z "$WMLIST" && WMLIST="twm"
+
+test "$1" = "--" || { test -n "$1" && WANTEDWM=`basename "$1"` ; }
@@ -47,7 +47,7 @@ Index: xinit-1.3.4/startx.cpp
+XCOMM
+XCOMM is it reachable via $PATH?
+XCOMM
+ type -p $WM &> /dev/null || {
+ type $WM >/dev/null 2>&1 || {
+
+ echo "`basename $0`: error: the requested window manager '$1' could not be found!"
+ echo "Window manager must be one of (currently installed window amangers):"

View File

@@ -1,3 +1,10 @@
-------------------------------------------------------------------
Sun May 10 01:21:00 UTC 2015 - Led <ledest@gmail.com>
- fix bashism in startx script
- update patches:
* xinit-suse.patch
-------------------------------------------------------------------
Wed Mar 18 11:47:43 UTC 2015 - sndirsch@suse.com