retryable_download: ensure HOMEBREW_CELLAR exists.
This commit is contained in:
parent
9255a1fd84
commit
d3a9525fd7
@ -73,6 +73,7 @@ module Homebrew
|
|||||||
downloadable.verify_download_integrity(download) if verify_download_integrity && !json_download
|
downloadable.verify_download_integrity(download) if verify_download_integrity && !json_download
|
||||||
|
|
||||||
if pour && downloadable.is_a?(Bottle)
|
if pour && downloadable.is_a?(Bottle)
|
||||||
|
HOMEBREW_CELLAR.mkpath
|
||||||
UnpackStrategy.detect(download, prioritize_extension: true)
|
UnpackStrategy.detect(download, prioritize_extension: true)
|
||||||
.extract_nestedly(to: HOMEBREW_CELLAR)
|
.extract_nestedly(to: HOMEBREW_CELLAR)
|
||||||
elsif json_download
|
elsif json_download
|
||||||
|
Loading…
x
Reference in New Issue
Block a user