mirror of
https://github.com/gosticks/brew.git
synced 2026-10-05 06:58:04 +00:00
Set DISPLAY from HOMEBREW_DISPLAY unconditionally
No need to test for existence, ruby ENV does the right thing.
This commit is contained in:
@@ -388,9 +388,7 @@ def exec_browser(*args)
|
||||
browser ||= OS::PATH_OPEN if defined?(OS::PATH_OPEN)
|
||||
return unless browser
|
||||
|
||||
if ENV["HOMEBREW_DISPLAY"]
|
||||
ENV["DISPLAY"] = ENV["HOMEBREW_DISPLAY"]
|
||||
end
|
||||
ENV["DISPLAY"] = ENV["HOMEBREW_DISPLAY"]
|
||||
|
||||
safe_exec(browser, *args)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user