Skip to content
Snippets Groups Projects
Commit 17cc40f1 authored by JCount's avatar JCount Committed by GitHub
Browse files

Merge pull request #2376 from MikeMcQuaid/update-migrate-check-symlinks

update-report: check migration symlinks.
parents 411172b9 b41a88ea
No related branches found
No related tags found
No related merge requests found
......@@ -503,7 +503,9 @@ class Reporter
def migrate_formula_rename
Formula.installed.map(&:oldname).compact.each do |old_name|
next unless (dir = HOMEBREW_CELLAR/old_name).directory? && !dir.subdirs.empty?
old_name_dir = HOMEBREW_CELLAR/old_name
next if old_name_dir.symlink?
next unless old_name_dir.directory? && !old_name_dir.subdirs.empty?
new_name = tap.formula_renames[old_name]
next unless new_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