aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/download_strategy.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/download_strategy.rb')
-rw-r--r--Library/Homebrew/download_strategy.rb16
1 files changed, 8 insertions, 8 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 0a80b8344..e3caa07f7 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -837,15 +837,15 @@ class DownloadStrategyDetector
def self.detect_from_symbol(symbol)
case symbol
- when :bzr then BazaarDownloadStrategy
- when :curl then CurlDownloadStrategy
- when :cvs then CVSDownloadStrategy
- when :git then GitDownloadStrategy
- when :hg then MercurialDownloadStrategy
+ when :hg then MercurialDownloadStrategy
when :nounzip then NoUnzipCurlDownloadStrategy
- when :post then CurlPostDownloadStrategy
- when :ssl3 then CurlSSL3DownloadStrategy
- when :svn then SubversionDownloadStrategy
+ when :git then GitDownloadStrategy
+ when :bzr then BazaarDownloadStrategy
+ when :svn then SubversionDownloadStrategy
+ when :curl then CurlDownloadStrategy
+ when :ssl3 then CurlSSL3DownloadStrategy
+ when :cvs then CVSDownloadStrategy
+ when :post then CurlPostDownloadStrategy
else
raise "Unknown download strategy #{strategy} was requested."
end