diff options
| author | Mike McQuaid | 2017-03-29 11:25:21 +0100 | 
|---|---|---|
| committer | Mike McQuaid | 2017-03-31 10:01:46 +0100 | 
| commit | d82522060e62c082fc54f2ee8ea30c46e004917f (patch) | |
| tree | 7cee79f8dcbb5d3cbb7aed0efe804d86b9d6a7a4 /Library/Homebrew/cmd/install.rb | |
| parent | ffd706d997441744b50f75ca45ceb8bd1caefd76 (diff) | |
| download | brew-d82522060e62c082fc54f2ee8ea30c46e004917f.tar.bz2 | |
install: perform rename migrations when needed.
Diffstat (limited to 'Library/Homebrew/cmd/install.rb')
| -rw-r--r-- | Library/Homebrew/cmd/install.rb | 5 | 
1 files changed, 4 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/install.rb b/Library/Homebrew/cmd/install.rb index e54286f09..a113bde38 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  | 
