From c8964a856c72c1147d3ad8fd0bb72fea404498e6 Mon Sep 17 00:00:00 2001 From: Julien Lavergne Date: Thu, 26 Nov 2009 20:05:11 +0100 Subject: [PATCH] Complete path for custom configuration. --- usr/bin/startlubuntu | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/usr/bin/startlubuntu b/usr/bin/startlubuntu index d16582c..f581b97 100644 --- a/usr/bin/startlubuntu +++ b/usr/bin/startlubuntu @@ -5,6 +5,7 @@ if [ -z "$XDG_CONFIG_HOME" ]; then fi #Allow custom configuration files in /etc/xdg/lubuntu +#Patch stolen from Xubuntu if test "x$XDG_CONFIG_DIRS" = "x" then XDG_CONFIG_DIRS="/etc/xdg/lubuntu:/etc/xdg" @@ -13,6 +14,14 @@ else fi export XDG_CONFIG_DIRS +if test "x$XDG_DATA_DIRS" = "x" +then + XDG_DATA_DIRS="/etc/xdg/lubuntu:/usr/local/share:/usr/share:/usr/share" + else + XDG_DATA_DIRS="/etc/xdg/lubuntu:$XDG_DATA_DIRS:/usr/share" +fi +export XDG_DATA_DIRS + # Ensure the existance of pcmanfm config file PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm" if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then