volatile config data and XDG Base Directory spec
Richard Hartmann
richih.mailinglist at gmail.com
Wed Feb 19 23:57:34 PST 2014
On Wed, Feb 19, 2014 at 6:41 PM, Kevin Krammer <krammer at kde.org> wrote:
> Like the other variables there would be a specified default, so configure (or
> whatever) could peform the check and fall back to the default or a shell
> substitution expression could be used, etc.
Those defaults are internal to programs; all a program would see in this case is
./foo --prefix=''
as shell expansion would happen before that. I know what you meant,
but the fact is that you can never solely rely on XDG variables in an
interactive shell.
> Anyway, just wanted to point out that if there is a need for a location that
> can host user installed extension instead of data, then the better approach
> might be addng a location for that instead of moving data to a new one.
Agreed.
Richard
More information about the xdg
mailing list