download_strategy: add Apache mirror lua.
The ASF now has a preferred .lua mirror script on top of the .cgi file Closes Homebrew/homebrew#43521. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
7d573034bb
commit
93f7ef6f42
@ -837,7 +837,7 @@ class DownloadStrategyDetector
|
||||
case url
|
||||
when %r{^https?://.+\.git$}, %r{^git://}
|
||||
GitDownloadStrategy
|
||||
when %r{^https?://www\.apache\.org/dyn/closer\.cgi}
|
||||
when %r{^https?://www\.apache\.org/dyn/closer\.cgi}, %r{^https?://www\.apache\.org/dyn/closer\.lua}
|
||||
CurlApacheMirrorDownloadStrategy
|
||||
when %r{^https?://(.+?\.)?googlecode\.com/svn}, %r{^https?://svn\.}, %r{^svn://}, %r{^https?://(.+?\.)?sourceforge\.net/svnroot/}
|
||||
SubversionDownloadStrategy
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user