commit
7f4aefe41a
@ -235,6 +235,7 @@ export HOMEBREW_MACOS_VERSION
|
||||
export HOMEBREW_MACOS_VERSION_NUMERIC
|
||||
export HOMEBREW_USER_AGENT
|
||||
export HOMEBREW_USER_AGENT_CURL
|
||||
export HOMEBREW_BOTTLE_DEFAULT_DOMAIN
|
||||
|
||||
if [[ -n "$HOMEBREW_MACOS" && -x "/usr/bin/xcode-select" ]]
|
||||
then
|
||||
|
||||
@ -13,7 +13,7 @@ require "erb"
|
||||
|
||||
BOTTLE_ERB = <<-EOS.freeze
|
||||
bottle do
|
||||
<% if !["#{HOMEBREW_BOTTLE_DEFAULT_DOMAIN}/bottles", "https://homebrew.bintray.com/bottles"].include?(root_url) %>
|
||||
<% if !root_url.start_with?(HOMEBREW_BOTTLE_DEFAULT_DOMAIN) %>
|
||||
root_url "<%= root_url %>"
|
||||
<% end %>
|
||||
<% if ![Homebrew::DEFAULT_PREFIX, "/usr/local"].include?(prefix) %>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user