diff options
| author | Mike McQuaid | 2014-01-18 21:58:01 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-01-19 14:19:07 -0800 |
| commit | 5b72d68d0d55579d5c74a0d67dd1587c58784689 (patch) | |
| tree | 409d5bcf99c9a5bff5696647cbe2b8a66c2d831d /Library | |
| parent | f6abf315ebec4a9980d7d5c1bcc42f71b8901e62 (diff) | |
| download | homebrew-5b72d68d0d55579d5c74a0d67dd1587c58784689.tar.bz2 | |
caveats: print .app caveats if installed to keg.
Diffstat (limited to 'Library')
| -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?) |
