Fix testpackage-appstream: XDG_DATA_DIRS needs to be explicitly extended
Summary:
Setting XDG_DATA_DIRS in the ENVIRONMENT property using
"XDG_DATA_DIRS=/path:$XDG_DATA_DIRS" has two flaws
- the value string is not evaluated e.g. by a shell but set directly, so $XDG_DATA_DIRS will stay verbatim
- if XDG_DATA_DIRS was not set before, setting it now will trigger the rules to use the default /usr/local/share & /usr/share only if XDG_DATA_DIRS is not set, thus effectively removing these dirs now
Reviewers: Frameworks, mart, apol, sitter, bcooksley
Reviewed By: apol
Subscribers: kde-frameworks-devel
Tags: Frameworks
Differential Revision: https://phabricator.kde.org/D29063