Revert "Elide default root_url in the bottle block"
This reverts commit e4f4e0f98b6ff9c0f9f988345c2257fbc151e8b0. This is no longer necessary as `HOMEBREW_FORCE_HOMEBREW_ON_LINUX` is set when uploading bottles for Homebrew.
This commit is contained in:
parent
2e5fbf57af
commit
6437a70a5f
@ -13,7 +13,7 @@ require "erb"
|
|||||||
|
|
||||||
BOTTLE_ERB = <<-EOS.freeze
|
BOTTLE_ERB = <<-EOS.freeze
|
||||||
bottle do
|
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 %>"
|
root_url "<%= root_url %>"
|
||||||
<% end %>
|
<% end %>
|
||||||
<% if ![Homebrew::DEFAULT_PREFIX, "/usr/local"].include?(prefix) %>
|
<% if ![Homebrew::DEFAULT_PREFIX, "/usr/local"].include?(prefix) %>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user