Set DISPLAY from HOMEBREW_DISPLAY unconditionally
No need to test for existence, ruby ENV does the right thing.
This commit is contained in:
parent
ae1e4e7022
commit
6819cbf967
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user