formula_installer: Don't check devtools if pouring

This commit is contained in:
William Woodruff 2018-06-11 00:45:25 -04:00
parent 343a5b45a9
commit 96ff4102c8
No known key found for this signature in database
GPG Key ID: 600D68320BE45ACC
2 changed files with 4 additions and 1 deletions

View File

@ -219,6 +219,10 @@ class FormulaInstaller
end end
def install 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 # 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 # function but after instantiating this class so that it can avoid having to
# relink the active keg if possible (because it is slow). # relink the active keg if possible (because it is slow).

View File

@ -47,7 +47,6 @@ module Homebrew
def perform_preinstall_checks def perform_preinstall_checks
check_ppc check_ppc
check_writable_install_location check_writable_install_location
check_development_tools if DevelopmentTools.installed?
check_cellar check_cellar
end end
end end