diff options
| author | Mike McQuaid | 2017-01-09 13:33:56 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2017-01-09 14:10:26 +0000 |
| commit | c0a29d664420bb568036f8e92654cf5e0b73da3e (patch) | |
| tree | 426cd6419e07a2542408d35cdbf899afedea8806 /Library | |
| parent | f5b63f4a8dd3e22ffc405a1a6119a961f8332578 (diff) | |
| download | brew-c0a29d664420bb568036f8e92654cf5e0b73da3e.tar.bz2 | |
caveats, keg: remove linkapps caveats code.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/caveats.rb | 11 | ||||
| -rw-r--r-- | Library/Homebrew/keg.rb | 4 |
2 files changed, 0 insertions, 15 deletions
diff --git a/Library/Homebrew/caveats.rb b/Library/Homebrew/caveats.rb index 3dfdb1c87..d1dda9d4c 100644 --- a/Library/Homebrew/caveats.rb +++ b/Library/Homebrew/caveats.rb @@ -23,7 +23,6 @@ class Caveats caveats << fish_function_caveats caveats << plist_caveats caveats << python_caveats - caveats << app_caveats caveats << elisp_caveats caveats.compact.join("\n") end @@ -169,16 +168,6 @@ class Caveats s end - def app_caveats - return unless keg - return unless keg.app_installed? - - <<-EOS.undent - .app bundles were installed. - Run `brew linkapps #{keg.name}` to symlink these to /Applications. - EOS - end - def elisp_caveats return if f.keg_only? return unless keg diff --git a/Library/Homebrew/keg.rb b/Library/Homebrew/keg.rb index 4312c9454..14eb0e3f3 100644 --- a/Library/Homebrew/keg.rb +++ b/Library/Homebrew/keg.rb @@ -367,10 +367,6 @@ class Keg Pathname.glob("#{app_prefix}/{,libexec/}*.app") end - def app_installed? - !apps.empty? - end - def elisp_installed? return false unless (path/"share/emacs/site-lisp"/name).exist? (path/"share/emacs/site-lisp"/name).children.any? { |f| %w[.el .elc].include? f.extname } |
