From a48e42e9dd48e9c1b800c0c930ffd2827e964590 Mon Sep 17 00:00:00 2001 From: commitay Date: Sat, 2 Jun 2018 11:31:33 +1000 Subject: [PATCH] cask fetch and upgrade: print caveats --- Library/Homebrew/cask/lib/hbc/cli/fetch.rb | 1 + Library/Homebrew/cask/lib/hbc/cli/upgrade.rb | 2 ++ 2 files changed, 3 insertions(+) diff --git a/Library/Homebrew/cask/lib/hbc/cli/fetch.rb b/Library/Homebrew/cask/lib/hbc/cli/fetch.rb index 12c794f5f6..14db11dd51 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/fetch.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/fetch.rb @@ -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) diff --git a/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb b/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb index 3969546712..8997723127 100644 --- a/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb +++ b/Library/Homebrew/cask/lib/hbc/cli/upgrade.rb @@ -53,6 +53,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