From f4cd66a88f3242cf7e0de4885d46718367a2c0b4 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 18 Jan 2014 21:58:01 +0000 Subject: caveats: print .app caveats if installed to keg. --- Library/Homebrew/caveats.rb | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index db95fe86e..58347abbc 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -13,6 +13,7 @@ class Caveats caveats << zsh_completion_caveats caveats << plist_caveats caveats << python_caveats + caveats << app_caveats caveats.compact.join("\n") end @@ -59,6 +60,15 @@ class Caveats end end + def app_caveats + if keg and keg.app_installed? + <<-EOS.undent + .app bundles were installed to #{f.prefix} (or libexec). + Run `brew linkapps` to symlink these to /Applications. + EOS + end + end + def plist_caveats s = [] if f.plist or (keg and keg.plist_installed?) -- cgit v1.2.3