cask fetch and upgrade: print caveats

This commit is contained in:
commitay 2018-06-02 11:31:33 +10:00
parent 315ccf604f
commit a48e42e9dd
2 changed files with 3 additions and 0 deletions

View File

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

View File

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