Skip to content
Snippets Groups Projects
Commit 569dbf4d authored by Mike McQuaid's avatar Mike McQuaid
Browse files

utils: skip migration of broken formulae symlinks.

parent a2f19f0a
No related branches found
No related tags found
No related merge requests found
......@@ -634,7 +634,11 @@ def migrate_legacy_keg_symlinks_if_necessary
begin
(HOMEBREW_PREFIX/"opt/#{name}").realpath
rescue Errno::ENOENT
Formulary.factory(name).installed_prefix
begin
Formulary.factory(name).installed_prefix
rescue
next
end
end
end
dst = HOMEBREW_LINKED_KEGS/name
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment