Merge pull request #4232 from commitay/cask-caveats

cask fetch and upgrade: print caveats
This commit is contained in:
commitay 2018-06-21 11:51:29 +10:00 committed by GitHub
commit 41e27928c4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 3 additions and 0 deletions

View File

@ -10,6 +10,7 @@ module Hbc
def run
casks.each do |cask|
Installer.print_caveats(cask)
ohai "Downloading external files for Cask #{cask}"
downloaded_path = Download.new(cask, force: force?).perform
Verify.all(cask, downloaded_path)

View File

@ -54,6 +54,8 @@ module Hbc
# Start new Cask's installation steps
new_cask_installer.check_conflicts
new_cask_installer.print_caveats
new_cask_installer.fetch
# Move the old Cask's artifacts back to staging