diff options
author | Samuli Suominen <ssuominen@gentoo.org> | 2007-03-03 15:44:49 +0000 |
---|---|---|
committer | Samuli Suominen <ssuominen@gentoo.org> | 2007-03-03 15:44:49 +0000 |
commit | 81d54c46312148748229de40076c7e1be03e5b4d (patch) | |
tree | a5060fbfed70b66468f0b5970c14962b7858d3e7 /xfce-base/xfce-utils/files | |
parent | amd64 stable, security bug 165555 (diff) | |
download | historical-81d54c46312148748229de40076c7e1be03e5b4d.tar.gz historical-81d54c46312148748229de40076c7e1be03e5b4d.tar.bz2 historical-81d54c46312148748229de40076c7e1be03e5b4d.zip |
New patch from upstream bug 2967.
Package-Manager: portage-2.1.2-r13
Diffstat (limited to 'xfce-base/xfce-utils/files')
-rw-r--r-- | xfce-base/xfce-utils/files/xfce-utils-4.4.0-xdg_data_dirs.patch | 57 |
1 files changed, 46 insertions, 11 deletions
diff --git a/xfce-base/xfce-utils/files/xfce-utils-4.4.0-xdg_data_dirs.patch b/xfce-base/xfce-utils/files/xfce-utils-4.4.0-xdg_data_dirs.patch index 665989b62505..ed99e9f51928 100644 --- a/xfce-base/xfce-utils/files/xfce-utils-4.4.0-xdg_data_dirs.patch +++ b/xfce-base/xfce-utils/files/xfce-utils-4.4.0-xdg_data_dirs.patch @@ -1,18 +1,53 @@ 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-02 14:33:40.000000000 +0200 -@@ -26,13 +26,7 @@ - BASEDIR=$XDG_CONFIG_HOME/xfce4 ++++ xfce-utils-4.4.0/scripts/startxfce4.in 2007-03-03 17:32:41.000000000 +0200 +@@ -19,14 +19,14 @@ + # 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"" --then -- XDG_DATA_DIRS="/usr/share:/usr/local/share:@datadir@" --else -- XDG_DATA_DIRS="$XDG_DATA_DIRS:@datadir@" --fi --export XDG_DATA_DIRS -+export XDG_DATA_DIRS="/usr/share:/usr/local/share:$XDG_DATA_DIRS:@datadir@" ++if test "x$XDG_DATA_DIRS" = "x" + then + XDG_DATA_DIRS="/usr/share:/usr/local/share:@datadir@" + else +@@ -34,7 +34,7 @@ + fi + export XDG_DATA_DIRS - if test x"$DISPLAY" = x"" +-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 |