Comment 25 for bug 1576500

Revision history for this message
Oliver Grawert (ogra) wrote :

@Symaxtry to make it:
else
  if [ -z "$XDG_CONFIG_DIRS" ]; then
    XDG_CONFIG_DIRS="$DEFAULT_XDG_CONFIG_DIRS"
  fi
  if [ -z "$XDG_DATA_DIRS" ]; then
    XDG_DATA_DIRS="$DEFAULT_XDG_DATA_DIRS"
  fi
fi

so the default is only defined in one place (and an update of the default at the top is respected in your code path)