Merge pull request #4581 from reitermarkus/non-existent-download-strategies
Remove non-existent download strategies.
This commit is contained in:
commit
dce6b875c1
@ -982,14 +982,6 @@ module Homebrew
|
||||
|
||||
return unless using
|
||||
|
||||
if using == :ssl3 || \
|
||||
(Object.const_defined?("CurlSSL3DownloadStrategy") && using == CurlSSL3DownloadStrategy)
|
||||
problem "The SSL3 download strategy is deprecated, please choose a different URL"
|
||||
elsif (Object.const_defined?("CurlUnsafeDownloadStrategy") && using == CurlUnsafeDownloadStrategy) || \
|
||||
(Object.const_defined?("UnsafeSubversionDownloadStrategy") && using == UnsafeSubversionDownloadStrategy)
|
||||
problem "#{using.name} is deprecated, please choose a different URL"
|
||||
end
|
||||
|
||||
if using == :cvs
|
||||
mod = specs[:module]
|
||||
|
||||
|
@ -1133,7 +1133,6 @@ class DownloadStrategyDetector
|
||||
when :bzr then BazaarDownloadStrategy
|
||||
when :svn then SubversionDownloadStrategy
|
||||
when :curl then CurlDownloadStrategy
|
||||
when :ssl3 then CurlSSL3DownloadStrategy
|
||||
when :cvs then CVSDownloadStrategy
|
||||
when :post then CurlPostDownloadStrategy
|
||||
when :fossil then FossilDownloadStrategy
|
||||
|
Loading…
x
Reference in New Issue
Block a user