diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 41c4fdeb3f..7d5e7af681 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -579,6 +579,8 @@ def detect_download_strategy url when %r[^https?://(.+?\.)?sourceforge\.net/svnroot/] then SubversionDownloadStrategy when %r[^http://svn.apache.org/repos/] then SubversionDownloadStrategy when %r[^http://www.apache.org/dyn/closer.cgi] then CurlApacheMirrorDownloadStrategy + # Common URL patterns + when %r[^https?://svn\.] then SubversionDownloadStrategy # Otherwise just try to download else CurlDownloadStrategy end