diff options
author | root <root@rshg054.dnsready.net> | 2012-02-04 23:14:50 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-04 23:14:50 +0000 |
commit | cdc66cc7110e78bf1197f9effc70422114f9341b (patch) | |
tree | 26d88200b6a071ffe8e21b7022be19ade43d52e5 /staging/libx11/xorg.sh | |
parent | de078a89b9e3a45b6b2e3f0c9d866962e5125ba3 (diff) |
Sat Feb 4 23:14:50 UTC 2012
Diffstat (limited to 'staging/libx11/xorg.sh')
-rw-r--r-- | staging/libx11/xorg.sh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/staging/libx11/xorg.sh b/staging/libx11/xorg.sh new file mode 100644 index 000000000..e1de6866c --- /dev/null +++ b/staging/libx11/xorg.sh @@ -0,0 +1,15 @@ +export XDG_DATA_HOME=$HOME/.local/share +export XDG_CONFIG_HOME=$HOME/.config +export XDG_CACHE_HOME=$HOME/.cache + +if [ -z $XDG_DATA_DIRS ]; then + export XDG_DATA_DIRS=/usr/share/:/usr/local/share/ +else + export XDG_DATA_DIRS=/usr/share/:/usr/local/share/:$XDG_DATA_DIRS +fi + +if [ -z $XDG_CONFIG_DIRS ]; then + export XDG_CONFIG_DIRS=/etc/xdg +else + export XDG_CONFIG_DIRS=/etc/xdg:$XDG_CONFIG_DIRS +fi |