Merge pull request #5782 from sjackman/check_xdg_data_dirs

diagnostic: Fix check_xdg_data_dirs for Linux
This commit is contained in:
Mike McQuaid 2019-02-21 19:03:36 +00:00 committed by GitHub
commit d3c0d687cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -54,7 +54,7 @@ module Homebrew
this variable set to include other locations. this variable set to include other locations.
Some programs like `vapigen` may not work correctly. Some programs like `vapigen` may not work correctly.
Consider adding Homebrew's share directory to XDG_DATA_DIRS like so: Consider adding Homebrew's share directory to XDG_DATA_DIRS like so:
#{Utils::Shell.prepend_variable_in_profile("XDG_DATA_DIRS", HOMEBREW_PREFIX/"share")} echo 'export XDG_DATA_DIRS="#{HOMEBREW_PREFIX}/share:$XDG_DATA_DIRS"' >> #{shell_profile}
EOS EOS
end end