Files
Alyssa Ross f97de6d7cd wrapGAppsHook: don't clobber XDG_DATA_DIRS default
The wrapper is supposed to transparently add things to XDG_DATA_DIRS,
not to take things out of it.  But because XDG_DATA_DIRS has an
implicit default if unset, and the wrapper set XDG_DATA_DIRS without
preserving that default value if it was unset outside the wrapper,
that's what it was doing in practice.

I've tested that these default paths are not accidentally added if
XDG_DATA_DIRS is set outside the wrapper, and that the other
directories we want to add to XDG_DATA_DIRS are correctly included in
both cases.
2026-07-30 20:55:32 +02:00
..