Skip unlinking if HOMEBREW_NO_INSTALL_UPGRADE
This commit is contained in:
parent
989e3cd2fa
commit
1ee0c1987e
@ -396,7 +396,7 @@ module Homebrew
|
||||
f.print_tap_action
|
||||
build_options = f.build
|
||||
|
||||
if f.outdated? && !f.head?
|
||||
if !Homebrew::EnvConfig.no_install_upgrade? && f.outdated? && !f.head?
|
||||
formulae = [f] + f.old_installed_formulae
|
||||
version_upgrade = "#{f.linked_version} -> #{f.pkg_version}"
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user