mirror of
https://github.com/donl/homebrew-cask-versions.git
synced 2026-07-17 14:26:45 -06:00
Merge pull request #2304 from rolandwalker/uri_feedback
add feedback when downloading a URI source
This commit is contained in:
commit
a369f7ffd4
1 changed files with 1 additions and 0 deletions
|
|
@ -12,6 +12,7 @@ class Cask::Source::URI
|
|||
def load
|
||||
HOMEBREW_CACHE_CASKS.mkpath
|
||||
path = HOMEBREW_CACHE_CASKS.join(File.basename(uri))
|
||||
ohai "Downloading #{uri}"
|
||||
curl(uri, '-o', path.to_s)
|
||||
Cask::Source::Path.new(path).load
|
||||
rescue ErrorDuringExecution
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue