blob: 80d7392dce74bbda89b3f0f8e6e4e9bf7bc862ba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
|
diff -ur xfce-utils-4.4.0.orig/scripts/startxfce4.in xfce-utils-4.4.0/scripts/startxfce4.in
--- xfce-utils-4.4.0.orig/scripts/startxfce4.in 2007-01-20 19:02:51.000000000 +0200
+++ xfce-utils-4.4.0/scripts/startxfce4.in 2007-03-21 16:28:55.000000000 +0200
@@ -19,22 +19,22 @@
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
#
-if test x"$XDG_CONFIG_HOME" = x""
+if test "x$XDG_CONFIG_HOME" = "x"
then
- BASEDIR=$HOME/.config/xfce4/
+ BASEDIR="$HOME/.config/xfce4/"
else
- BASEDIR=$XDG_CONFIG_HOME/xfce4
+ BASEDIR="$XDG_CONFIG_HOME/xfce4"
fi
-if test x"$XDG_DATA_DIRS" = x""
+if test "x$XDG_DATA_DIRS" = "x"
then
- XDG_DATA_DIRS="/usr/share:/usr/local/share:@datadir@"
+ XDG_DATA_DIRS="/usr/local/share:/usr/share:@datadir@"
else
- XDG_DATA_DIRS="$XDG_DATA_DIRS:@datadir@"
+ XDG_DATA_DIRS="$XDG_DATA_DIRS:/usr/local/share:/usr/share:@datadir@"
fi
export XDG_DATA_DIRS
-if test x"$DISPLAY" = x""
+if test "x$DISPLAY" = "x"
then
echo "$0: Starting X server"
prog=xinit
@@ -43,10 +43,10 @@
prog=/bin/sh
fi
-if test ! x"$*" = x""
+if test ! "x$*" = "x"
then
OPT=$*
- if test x"${OPT#*--}" = x"${OPT}"
+ if test "x${OPT#*--}" = "x${OPT}"
then
CLIENTRC=${OPT}
else
@@ -61,7 +61,7 @@
SERVERRC="/etc/X11/xinit/xserverrc $SERVERRC"
fi
-if ! test x"$SERVERRC" = x""
+if ! test "x$SERVERRC" = "x"
then
SERVERRC="-- $SERVERRC"
fi
|