software_spec: use homebrew Bintray subdomain.
Also: split into two variables so they can be used for taps.
This commit is contained in:
parent
00e6bc98bd
commit
635681401e
@ -252,7 +252,8 @@ class BottleSpecification
|
||||
DEFAULT_PREFIX = "/usr/local".freeze
|
||||
DEFAULT_CELLAR = "/usr/local/Cellar".freeze
|
||||
if ENV["HOMEBREW_BINTRAY_TESTING"]
|
||||
DEFAULT_ROOT_URL = "https://bintray.com/artifact/download/homebrew/bottles".freeze
|
||||
DEFAULT_DOMAIN = "https://homebrew.bintray.com".freeze
|
||||
DEFAULT_ROOT_URL = "#{DEFAULT_DOMAIN}/bottles".freeze
|
||||
else
|
||||
DEFAULT_ROOT_URL = "https://downloads.sf.net/project/machomebrew/Bottles".freeze
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user