From d82522060e62c082fc54f2ee8ea30c46e004917f Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 29 Mar 2017 11:25:21 +0100 Subject: [PATCH] install: perform rename migrations when needed. --- Library/Homebrew/cmd/install.rb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index e54286f09d..a113bde38f 100644 --- a/Library/Homebrew/cmd/install.rb +++ b/Library/Homebrew/cmd/install.rb @@ -199,7 +199,10 @@ module Homebrew perform_preinstall_checks - formulae.each { |f| install_formula(f) } + formulae.each do |f| + Migrator.migrate_if_needed(f) + install_formula(f) + end rescue FormulaClassUnavailableError => e # Need to rescue before `FormulaUnavailableError` (superclass of this) # is handled, as searching for a formula doesn't make sense here (the