Update Library/Homebrew/cmd/install.rb
Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
parent
beb68dca29
commit
1b1fa3fed7
@ -401,7 +401,7 @@ module Homebrew
|
|||||||
build_options = f.build
|
build_options = f.build
|
||||||
|
|
||||||
if !Homebrew::EnvConfig.no_install_upgrade? && f.outdated? && !f.head?
|
if !Homebrew::EnvConfig.no_install_upgrade? && f.outdated? && !f.head?
|
||||||
formulae = [f] + f.old_installed_formulae
|
formulae = [f, *f.old_installed_formulae]
|
||||||
version_upgrade = "#{f.linked_version} -> #{f.pkg_version}"
|
version_upgrade = "#{f.linked_version} -> #{f.pkg_version}"
|
||||||
|
|
||||||
oh1 <<~EOS
|
oh1 <<~EOS
|
||||||
|
Loading…
x
Reference in New Issue
Block a user