doctor: skip Cellar test if Cellar doesn't exist
Fixes Homebrew/homebrew#5188 (again).
This commit is contained in:
parent
9ebb1a3d08
commit
c2b057fc70
@ -596,6 +596,7 @@ def check_for_DYLD_INSERT_LIBRARIES
|
|||||||
end
|
end
|
||||||
|
|
||||||
def check_for_symlinked_cellar
|
def check_for_symlinked_cellar
|
||||||
|
return unless HOMEBREW_CELLAR.exist?
|
||||||
if HOMEBREW_CELLAR.symlink?
|
if HOMEBREW_CELLAR.symlink?
|
||||||
<<-EOS.undent
|
<<-EOS.undent
|
||||||
Symlinked Cellars can cause problems.
|
Symlinked Cellars can cause problems.
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user