diff --git a/xinit-suse.patch b/xinit-suse.patch index 49b32fd..c0bf66b 100644 --- a/xinit-suse.patch +++ b/xinit-suse.patch @@ -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):" diff --git a/xinit.changes b/xinit.changes index 42aed72..6e6fe51 100644 --- a/xinit.changes +++ b/xinit.changes @@ -1,3 +1,10 @@ +------------------------------------------------------------------- +Sun May 10 01:21:00 UTC 2015 - Led + +- fix bashism in startx script +- update patches: + * xinit-suse.patch + ------------------------------------------------------------------- Wed Mar 18 11:47:43 UTC 2015 - sndirsch@suse.com