FS#1447 - typos in xorg.sh
Attached to Project:
Arch Linux
Opened by Mircea Bardac (IceRAM) - Tuesday, 14 September 2004, 21:31 GMT
Opened by Mircea Bardac (IceRAM) - Tuesday, 14 September 2004, 21:31 GMT
|
Details
Remove the exclamation marks from the ifs in
/etc/profile.d/xorg.sh
Resulting file should be: <code> 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 else export XDG_DATA_DIRS=/usr/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_DATA_DIRS fi </code> Sorry for not spotting this earlier. |
This task depends upon
export XDG_CONFIG_DIRS=/etc/xdg
else
export XDG_CONFIG_DIRS=/etc/xdg:$XDG_DATA_DIRS
fi
---
Should that last line be ...:$XDG_CONFIG_DIRS ?
http://bbs.archlinux.org/viewtopic.php?t=6743&postdays=0&postorder=asc&start=30
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
else
export XDG_DATA_DIRS=$XDG_DATA_DIRS:/usr/share
fi
if [ -z $XDG_CONFIG_DIRS ]; then
export XDG_CONFIG_DIRS=/etc/xdg
else
export XDG_CONFIG_DIRS=$XDG_CONFIG_DIRS:/etc/xdg
fi
Are you sure /usr/share & /etc/xdg should have the smalled priorities?
(I have nothing against it as long as it works - theoretically and practially)