add minor diagnostics to starttde

.. to see which XDG_CONFIG_DIRS are set by the script.
  This is interesting on platform which use this environment varialble
  to find the desktop files from the trinity installation.

  See https://mirror.git.trinitydesktop.org/gitea/TDE/tde/issues/232
  for a use case where this kind of output is useful.

Signed-off-by: Bernhard Reiter <bernhard@intevation.de>
master
Bernhard Reiter 5 days ago
parent e07d4c99b1
commit a84397aebb
No known key found for this signature in database
GPG Key ID: 2B7BA3BF9BC3A554

@ -279,6 +279,8 @@ if [ "$XDG_CONFIG_DIRS" != "" ]; then
export XDG_CONFIG_DIRS
fi
echo "[starttde] XDG_CONFIG_DIRS: $XDG_CONFIG_DIRS" 1>&2
# Explicitly set $XDG_DATA_DIRS only when Trinity is not installed in /usr.
# Explicitly declaring $XDG_DATA_DIRS will override the default search path of /usr/share.
# Explicitly declaring $XDG_DATA_DIRS will override $TDEDIRS, which must then be

Loading…
Cancel
Save