formula_installer: Don't check devtools if pouring
This commit is contained in:
parent
343a5b45a9
commit
96ff4102c8
@ -219,6 +219,10 @@ class FormulaInstaller
|
||||
end
|
||||
|
||||
def install
|
||||
if DevelopmentTools.installed? && !pour_bottle?
|
||||
Install.check_development_tools
|
||||
end
|
||||
|
||||
# not in initialize so upgrade can unlink the active keg before calling this
|
||||
# function but after instantiating this class so that it can avoid having to
|
||||
# relink the active keg if possible (because it is slow).
|
||||
|
||||
@ -47,7 +47,6 @@ module Homebrew
|
||||
def perform_preinstall_checks
|
||||
check_ppc
|
||||
check_writable_install_location
|
||||
check_development_tools if DevelopmentTools.installed?
|
||||
check_cellar
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user