mirror of
https://github.com/edeproject/ede.git
synced 2023-08-10 21:13:03 +03:00
Small shell independence tweak
This commit is contained in:
parent
39e795031c
commit
51067e0772
@ -13,25 +13,25 @@
|
|||||||
# Details about XDG_XXX data and how they are set is at:
|
# Details about XDG_XXX data and how they are set is at:
|
||||||
# http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
|
# http://standards.freedesktop.org/basedir-spec/basedir-spec-0.6.html
|
||||||
|
|
||||||
PREFIX=@prefix@
|
PREFIX="@prefix@"
|
||||||
|
|
||||||
if [ ! "$XDG_DATA_HOME" ]; then
|
if [ "x$XDG_DATA_HOME" = "x" ]; then
|
||||||
XDG_DATA_HOME="$HOME/.local/share"
|
XDG_DATA_HOME="$HOME/.local/share"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$XDG_CONFIG_HOME" ]; then
|
if [ "x$XDG_CONFIG_HOME" = "x" ]; then
|
||||||
XDG_CONFIG_HOME="$HOME/.config"
|
XDG_CONFIG_HOME="$HOME/.config"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$XDG_CACHE_HOME" ]; then
|
if [ "x$XDG_CACHE_HOME" = "x" ]; then
|
||||||
XDG_CACHE_HOME="$HOME/.cache"
|
XDG_CACHE_HOME="$HOME/.cache"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$XDG_DATA_DIRS" ]; then
|
if [ "x$XDG_DATA_DIRS" = "x" ]; then
|
||||||
XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
XDG_DATA_DIRS="/usr/local/share:/usr/share"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! "$XDG_CONFIG_DIRS" ]; then
|
if [ "x$XDG_CONFIG_DIRS" = "x" ]; then
|
||||||
XDG_CONFIG_DIRS="/etc/xdg"
|
XDG_CONFIG_DIRS="/etc/xdg"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@ -67,4 +67,3 @@ fi
|
|||||||
|
|
||||||
# start session
|
# start session
|
||||||
evoke --startup --autostart --log stdout
|
evoke --startup --autostart --log stdout
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user