diff options
| author | Jack Nagel | 2015-06-15 21:32:15 -0400 |
|---|---|---|
| committer | Jack Nagel | 2015-06-15 21:32:15 -0400 |
| commit | 321476df08b1e6e503d4628af8b1f76d1d87ec9d (patch) | |
| tree | c8c4729c9c4d2e37e98bb2d1981570ce2894175a | |
| parent | 023bddbd046c7dce0f9e56344f9fb5e258e0f59f (diff) | |
| download | brew-321476df08b1e6e503d4628af8b1f76d1d87ec9d.tar.bz2 | |
Make CurlUnsafeDownloadStrategy a no-op
| -rw-r--r-- | Library/Homebrew/download_strategy.rb | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 12807fab7..b51c4cc29 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -403,11 +403,7 @@ class NoUnzipCurlDownloadStrategy < CurlDownloadStrategy end # @deprecated -class CurlUnsafeDownloadStrategy < CurlDownloadStrategy - def _fetch - curl @url, '--insecure', '-C', downloaded_size, '-o', temporary_path - end -end +CurlUnsafeDownloadStrategy = CurlDownloadStrategy # This strategy extracts our binary packages. class CurlBottleDownloadStrategy < CurlDownloadStrategy |
