[Xfce4-commits] <xfce-utils:master> Append Xfce path to XDG_DATA_DIRS (bug #7040).

Nick Schermer noreply at xfce.org
Tue Dec 28 10:58:01 CET 2010


Updating branch refs/heads/master
         to 40161f71df30c3d8b984346c8e794a531911d47a (commit)
       from dc2ded641bc527ada7cc5594ef25d40b2c73e1c5 (commit)

commit 40161f71df30c3d8b984346c8e794a531911d47a
Author: Nick Schermer <nick at xfce.org>
Date:   Tue Dec 28 10:56:09 2010 +0100

    Append Xfce path to XDG_DATA_DIRS (bug #7040).
    
    It is better to append our path to XDG_DATA_DIRS
    instead of prepending, because the system paths
    are more important.

 scripts/startxfce4.in |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/scripts/startxfce4.in b/scripts/startxfce4.in
index 6225b4b..2268dbe 100644
--- a/scripts/startxfce4.in
+++ b/scripts/startxfce4.in
@@ -34,7 +34,7 @@ then
     XDG_DATA_DIRS="@_datadir_@:/usr/local/share:/usr/share"
   fi
 else
-  XDG_DATA_DIRS="@_datadir_@:$XDG_DATA_DIRS"
+  XDG_DATA_DIRS="$XDG_DATA_DIRS:@_datadir_@"
 fi
 export XDG_DATA_DIRS
 



More information about the Xfce4-commits mailing list