Access bottle directly in FormulaInstaller
This commit is contained in:
parent
2225ebc44e
commit
19ca1bb601
@ -511,9 +511,9 @@ class FormulaInstaller
|
|||||||
if f.local_bottle_path
|
if f.local_bottle_path
|
||||||
downloader = LocalBottleDownloadStrategy.new(f)
|
downloader = LocalBottleDownloadStrategy.new(f)
|
||||||
else
|
else
|
||||||
downloader = f.downloader
|
bottle = f.bottle
|
||||||
fetched = f.fetch
|
downloader = bottle.downloader
|
||||||
f.verify_download_integrity fetched
|
bottle.verify_download_integrity(bottle.fetch)
|
||||||
end
|
end
|
||||||
HOMEBREW_CELLAR.cd do
|
HOMEBREW_CELLAR.cd do
|
||||||
downloader.stage
|
downloader.stage
|
||||||
|
Loading…
x
Reference in New Issue
Block a user