Accepting request 259716 from home:Ledest:misc
fix bashisms OBS-URL: https://build.opensuse.org/request/show/259716 OBS-URL: https://build.opensuse.org/package/show/X11:Utilities/x11-tools?expand=0&rev=26
This commit is contained in:
parent
99b3136c3b
commit
d3702857be
@ -1,3 +1,13 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Nov 04 22:55:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashsisms in xf86debug script more correctly
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Oct 19 20:46:00 UTC 2014 - Led <ledest@gmail.com>
|
||||
|
||||
- fix bashsisms
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Fri Aug 22 15:52:48 UTC 2014 - fcrozat@suse.com
|
||||
|
||||
|
@ -27,7 +27,7 @@ ulimit -c unlimited
|
||||
corefile=`mktemp /tmp/core.Xorg.XXXXXXXXXX`
|
||||
|
||||
echo -n "Starting X Server in Debugger ... "
|
||||
gdb << EOF &> $tmpfile
|
||||
gdb <<EOF > $tmpfile 2>&1
|
||||
file /usr/bin/Xorg
|
||||
set args ${1+"$@"}
|
||||
handle SIGUSR1 nostop
|
||||
|
20
xim
20
xim
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# $Id: xim,v 1.28 2004/12/07 11:04:59 mfabian Exp $
|
||||
#
|
||||
@ -124,9 +124,9 @@ fi
|
||||
# command line before using startx. In that case, don't
|
||||
# read the system wide default from /etc/sysconfig/language,
|
||||
# use the user supplied value instead:
|
||||
if [ "$INPUT_METHOD" == "" ] ; then
|
||||
if [ -z "$INPUT_METHOD" ] ; then
|
||||
echo "sourcing /etc/sysconfig/language to get the value of INPUT_METHOD"
|
||||
source /etc/sysconfig/language
|
||||
. /etc/sysconfig/language
|
||||
fi
|
||||
|
||||
if [ "$INPUT_METHOD" != "" ]; then
|
||||
@ -134,8 +134,8 @@ if [ "$INPUT_METHOD" != "" ]; then
|
||||
echo "Trying to start this user selected input method first ..."
|
||||
if [ -r "/etc/X11/xim.d/$INPUT_METHOD" ] ; then
|
||||
echo "sourcing /etc/X11/xim.d/$INPUT_METHOD"
|
||||
source /etc/X11/xim.d/$INPUT_METHOD
|
||||
if [ "$?" == "0" ]; then
|
||||
. /etc/X11/xim.d/$INPUT_METHOD
|
||||
if [ "$?" = "0" ]; then
|
||||
echo "Start of $INPUT_METHOD succeeded."
|
||||
gnome_ibus_workaround $INPUT_METHOD
|
||||
return 0;
|
||||
@ -169,8 +169,8 @@ for subdir in $subdirlist ; do
|
||||
for im in /etc/X11/xim.d/$subdir/* ; do
|
||||
if [ -r $im ] ; then
|
||||
echo "sourcing $im ..."
|
||||
source $im
|
||||
if [ "$?" == "0" ]; then
|
||||
. $im
|
||||
if [ "$?" = "0" ]; then
|
||||
echo "$im started sucessfully"
|
||||
gnome_ibus_workaround $im
|
||||
return 0
|
||||
@ -183,7 +183,7 @@ for subdir in $subdirlist ; do
|
||||
fi
|
||||
done
|
||||
|
||||
if [ "$im_failed" == 0 ] ; then
|
||||
if [ "$im_failed" = 0 ] ; then
|
||||
echo "There is no default input method for the current locale."
|
||||
else
|
||||
echo "All default input methods tried for the current locale failed."
|
||||
@ -193,6 +193,4 @@ fi
|
||||
# the dummy input method "none" to get reasonable default settings
|
||||
# of the relevant environment variables:
|
||||
|
||||
source /etc/X11/xim.d/none
|
||||
|
||||
|
||||
. /etc/X11/xim.d/none
|
||||
|
@ -1,4 +1,4 @@
|
||||
#!/bin/bash
|
||||
#!/bin/sh
|
||||
#
|
||||
# Copyright © 2001 SUSE LINUX GmbH Nuernberg, Germany
|
||||
#
|
||||
|
Loading…
Reference in New Issue
Block a user