Skip to content

Commit 410b1fc

Browse files
authored
Merge pull request #21994 from Homebrew/XDG_DATA_HOME
extend/os/linux/cask/config: actually use XDG_DATA_HOME
2 parents e847d58 + 25d32f2 commit 410b1fc

2 files changed

Lines changed: 2 additions & 1 deletion

File tree

Library/Homebrew/extend/os/linux/cask/config.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ module ClassMethods
1111
DEFAULT_DIRS = T.let({
1212
vst_plugindir: "~/.vst",
1313
vst3_plugindir: "~/.vst3",
14-
fontdir: "#{ENV.fetch("XDG_DATA_HOME", "~/.local/share")}/fonts",
14+
fontdir: "#{ENV.fetch("HOMEBREW_XDG_DATA_HOME", "~/.local/share")}/fonts",
1515
appdir: "~/.config/apps",
1616
}.freeze, T::Hash[Symbol, String])
1717

bin/brew

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,7 @@ USED_BY_HOMEBREW_VARS=(
235235
XDG_CACHE_HOME
236236
XDG_CONFIG_HOME
237237
XDG_DATA_DIRS
238+
XDG_DATA_HOME
238239
XDG_RUNTIME_DIR
239240
ZDOTDIR
240241
)

0 commit comments

Comments
 (0)