update: check if Cellar exists instead of factory.
Fixes Homebrew/homebrew#23881.
This commit is contained in:
parent
a0a341c297
commit
e24bcba00a
@ -58,7 +58,7 @@ module Homebrew extend self
|
|||||||
|
|
||||||
# automatically tap any migrated formulae's new tap
|
# automatically tap any migrated formulae's new tap
|
||||||
report.select_formula(:D).each do |f|
|
report.select_formula(:D).each do |f|
|
||||||
next unless Formula.factory(f).installed?
|
next unless (HOMEBREW_CELLAR/f).exist?
|
||||||
tap_user, tap_repo = TAP_MIGRATIONS[f].split '/'
|
tap_user, tap_repo = TAP_MIGRATIONS[f].split '/'
|
||||||
begin
|
begin
|
||||||
install_tap tap_user, tap_repo
|
install_tap tap_user, tap_repo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user