Skip to content

Commit

Permalink
Merge pull request #4232 from commitay/cask-caveats
Browse files Browse the repository at this point in the history
cask fetch and upgrade: print caveats
  • Loading branch information
commitay authored Jun 21, 2018
2 parents 1d1ca77 + a48e42e commit 41e2792
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions Library/Homebrew/cask/lib/hbc/cli/fetch.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ def initialize(*)

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)
Expand Down
2 changes: 2 additions & 0 deletions Library/Homebrew/cask/lib/hbc/cli/upgrade.rb
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ def run
# 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
Expand Down

0 comments on commit 41e2792

Please sign in to comment.