audit: stop demanding a HTTP HEAD mirror for curl
Not sure if this is how you want to handle it but having a HEAD mirror
for `curl` is just silliness.
Ref: e36b95849a
This commit is contained in:
parent
e777010756
commit
9562cceef1
@ -1237,7 +1237,7 @@ class ResourceAuditor
|
||||
def audit_urls
|
||||
urls = [url] + mirrors
|
||||
|
||||
if name == "curl" && !urls.find { |u| u.start_with?("http://") }
|
||||
if name == "curl" && !urls.find { |u| u.start_with?("http://") } && url != Formula["curl"].head.url
|
||||
problem "should always include at least one HTTP url"
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user