Stop returning a path from CurlDownloadStrategy#fetch

Download strategies do not consistently return a value from `fetch`, so
our code calls `cached_location` to get the path instead.
This commit is contained in:
Jack Nagel 2014-12-09 01:39:10 -05:00
parent 585ddb5428
commit 90f938dc86

View File

@ -162,8 +162,6 @@ class CurlDownloadStrategy < AbstractDownloadStrategy
puts "Trying a mirror..."
@url = mirrors.shift
retry
else
tarball_path
end
# gunzip and bunzip2 write the output file in the same directory as the input