SetupEnvironment: export XDG_STATE_HOME env var.

Fixes: #18257.

Change-Id: Id7f81b4be3b63f383963f0d752e6ffeda41c3945
Reviewed-on: https://review.haiku-os.org/c/haiku/+/7506
Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org>
Reviewed-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
Oscar Lesta 2024-02-29 23:36:22 -03:00 committed by waddlesplash
parent 06fae14eb9
commit ea989da7f1

View File

@ -66,6 +66,9 @@ export XDG_CONFIG_HOME="`finddir B_USER_SETTINGS_DIRECTORY`"
# defaults to ~/.local/share
export XDG_DATA_HOME="`finddir B_USER_NONPACKAGED_DATA_DIRECTORY`"
# defaults to ~/.local/state
export XDG_STATE_HOME="`finddir B_USER_VAR_DIRECTORY`"
# defaults to /etc/xdg
export XDG_CONFIG_DIRS="`finddir B_SYSTEM_SETTINGS_DIRECTORY`"
# XXX: Should we add B_USER_ETC_DIRECTORY?