check_emacs_lisp(): bail unless site-lisp exists
Closes Homebrew/homebrew#42345.
This commit is contained in:
parent
81eedecc5a
commit
8faaba6665
@ -174,7 +174,7 @@ module FormulaCellarChecks
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_emacs_lisp(share, name)
|
def check_emacs_lisp(share, name)
|
||||||
return unless share.directory?
|
return unless (share/"emacs/site-lisp").directory?
|
||||||
|
|
||||||
# Emacs itself can do what it wants
|
# Emacs itself can do what it wants
|
||||||
return if name == "emacs"
|
return if name == "emacs"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user