]>
git.ipfire.org Git - thirdparty/systemd.git/blob - man/50-xdg-data-dirs.sh
3 # set the default value
4 XDG_DATA_DIRS
="${XDG_DATA_DIRS:-/usr/local/share/:/usr/share}"
6 # add a directory if it exists
7 if [[ -d /opt
/foo
/share
]]; then
8 XDG_DATA_DIRS
=/opt
/foo
/share
:${XDG_DATA_DIRS}
12 echo XDG_DATA_DIRS
=$XDG_DATA_DIRS