|
From: Lennon C. <mag...@gm...> - 2007-01-28 01:45:16
|
Tony Houghton <h...@re...> wrote: > XDG_CONFIG_HOME should be ~/.config while CHOICESPATH should be > ~/.config/rox.sourceforge.net IMO. That does make some sense. Though I think the best solution is to fix things so that we don't need $CHOICESPATH anymore - we've had XDG basedir for over 2 years, switching to it exclusively shouldn't risk breaking things anymore.=20 > Ah, that's because you've set both variables. From its AppRun: More specifically, it's because I set them to be the same.=20 > I don't think this is The Right Thing To Do.=20 There are Worse Things about - for example, the themes for OroboROX do this: if [ x"$CHOICESPATH" =3D x"" ] ; then XDG_CONFIG_HOME=3D"$HOME/.config" else XDG_CONFIG_HOME=3D`echo $CHOICESPATH | sed s/:.*//` fi Which is entirely the wrong thing if you have $XDG_CONFIG_HOME set to something other than ~/.config. I think the Right Thing is to reduce both to: OROBOROX_CONFIG_HOME=3D${XDG_CONFIG_HOME:-~/.config}/rox.sourceforge.net/Or= oboROX --=20 Lennon Victor Cook "He who receives an idea from me receives without lessening, as he who lights his candle at mine receives light without darkening" -- Thomas Jefferson |