* Niels Thykier <[email protected]>, 2013-03-03, 16:32:
Supporting XDG_CONFIG_{HOME,DIRS} can be done fairly easily, see attached patch (which is bluntly assuming we are dropping LINTIAN_ROOT/lintianrc).

Looks good to me. (Although I wonder why loading File::BaseDir is guarded by eval. libfile-basedir-perl is in Depends, so there's no reason for the import to fail. Or am I missing something?)

When I set LINTIAN_ROOT to something non-default, I expect that /usr/share/lintian won't be on the search path. I think we should completely ignore XDG_DATA_DIRS if LINTIAN_ROOT is set.
Obviously, I missed the most common use of LINTIAN_ROOT/--root.

Or maybe ignoring XDG_*_DIRS completely (and honouring only XDG_*_HOME) is the way to go? That would make keeping backwards compatiblity easier.
Of the two suggestions, I am more tempted towards ignoring $XDG_DATA_DIRS if $LINTIAN_ROOT (or --root) is involved.

Fair enough.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]

Reply via email to