mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
16 lines
392 B
Bash
16 lines
392 B
Bash
|
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
|