
This serves a similar purpose to the HOMEBREW_FORCE_HOMEBREW_ORG variable but applies to more settings.
10 lines
230 B
Ruby
10 lines
230 B
Ruby
class CoreTap < Tap
|
|
def default_remote
|
|
if ENV["HOMEBREW_FORCE_HOMEBREW_ON_LINUX"]
|
|
"https://github.com/Homebrew/homebrew-core".freeze
|
|
else
|
|
"https://github.com/Linuxbrew/homebrew-core".freeze
|
|
end
|
|
end
|
|
end
|