aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cask/lib
diff options
context:
space:
mode:
authorJoshua McKinney2017-03-18 18:57:04 -0500
committerJoshua McKinney2017-03-19 13:14:16 -0500
commit3703ef1885ba4afce1ed4ae531dcb7ddc573b3c2 (patch)
treef1aa60a112cfc5aaf637dc1f558e20f9c3e6724a /Library/Homebrew/cask/lib
parent367fdb971839c0b3686ca23a6de76da75cc80580 (diff)
downloadbrew-3703ef1885ba4afce1ed4ae531dcb7ddc573b3c2.tar.bz2
Show messages when (un)installing Casks
Addresses an issue where it can be unclear at times exactly which part of the (un|re)installation processes is reporting an error. See https://github.com/caskroom/homebrew-cask/issues/30968
Diffstat (limited to 'Library/Homebrew/cask/lib')
-rw-r--r--Library/Homebrew/cask/lib/hbc/installer.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cask/lib/hbc/installer.rb b/Library/Homebrew/cask/lib/hbc/installer.rb
index 6f6957574..69113e9fc 100644
--- a/Library/Homebrew/cask/lib/hbc/installer.rb
+++ b/Library/Homebrew/cask/lib/hbc/installer.rb
@@ -85,6 +85,8 @@ module Hbc
print_caveats
fetch
uninstall_if_neccessary
+
+ oh1 "Installing Cask #{@cask}"
stage
install_artifacts
enable_accessibility_access
@@ -322,7 +324,7 @@ module Hbc
end
def uninstall
- odebug "Hbc::Installer#uninstall"
+ oh1 "Uninstalling Cask #{@cask}"
disable_accessibility_access
uninstall_artifacts
purge_versioned_files