Complete path for custom configuration.

ubuntu/bionic
Julien Lavergne 15 years ago
parent aec4791cac
commit c8964a856c

@ -5,6 +5,7 @@ if [ -z "$XDG_CONFIG_HOME" ]; then
fi fi
#Allow custom configuration files in /etc/xdg/lubuntu #Allow custom configuration files in /etc/xdg/lubuntu
#Patch stolen from Xubuntu
if test "x$XDG_CONFIG_DIRS" = "x" if test "x$XDG_CONFIG_DIRS" = "x"
then then
XDG_CONFIG_DIRS="/etc/xdg/lubuntu:/etc/xdg" XDG_CONFIG_DIRS="/etc/xdg/lubuntu:/etc/xdg"
@ -13,6 +14,14 @@ else
fi fi
export XDG_CONFIG_DIRS 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 # Ensure the existance of pcmanfm config file
PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm" PCMANFM_CONF_DIR="$XDG_CONFIG_HOME/pcmanfm"
if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then if [ ! -f "$PCMANFM_CONF_DIR/main.lubuntu" ]; then

Loading…
Cancel
Save