aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJan Lehnardt2015-09-02 22:07:51 +0200
committerMike McQuaid2015-09-06 12:44:00 +0100
commit93f7ef6f4293fe63657a06c5229bc3b628891f00 (patch)
treeb89e81864e716516b0b5f7a55fec5ee74361f889 /Library
parent7d573034bbaf3f6867bca6d86e2b7c088bc3ffec (diff)
downloadbrew-93f7ef6f4293fe63657a06c5229bc3b628891f00.tar.bz2
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>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 1ea9c70df..29509305f 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -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