diff options
| author | Mike McQuaid | 2014-01-18 21:58:01 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-19 14:19:07 -0800 |
| commit | f4cd66a88f3242cf7e0de4885d46718367a2c0b4 (patch) | |
| tree | 561bed68749f03d1b99bfecd4a65f10c466d3b78 | |
| parent | d8d76da55fbd1d06efaead2f492bd0b70a122683 (diff) | |
| download | brew-f4cd66a88f3242cf7e0de4885d46718367a2c0b4.tar.bz2 | |
caveats: print .app caveats if installed to keg.
| -rw-r--r-- | Library/Homebrew/caveats.rb | 10 |
1 files changed, 10 insertions, 0 deletions
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?) |
