caveats, keg: remove linkapps caveats code.
This commit is contained in:
parent
f5b63f4a8d
commit
c0a29d6644
@ -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
|
||||
|
||||
@ -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 }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user