diff options
| author | Jan Lehnardt | 2015-09-02 22:07:51 +0200 |
|---|---|---|
| committer | Mike McQuaid | 2015-09-06 12:44:00 +0100 |
| commit | 93f7ef6f4293fe63657a06c5229bc3b628891f00 (patch) | |
| tree | b89e81864e716516b0b5f7a55fec5ee74361f889 /Library | |
| parent | 7d573034bbaf3f6867bca6d86e2b7c088bc3ffec (diff) | |
| download | brew-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.rb | 2 |
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 |
