formula_installer: cleanup existing pour_bottle logic.
This commit is contained in:
parent
26ec9f9ea0
commit
e62dc13252
@ -78,13 +78,14 @@ class FormulaInstaller
|
||||
return false if @pour_failed
|
||||
|
||||
bottle = formula.bottle
|
||||
return true if force_bottle? && bottle
|
||||
return false unless bottle
|
||||
return true if force_bottle?
|
||||
return false if build_from_source? || build_bottle? || interactive?
|
||||
return false if ARGV.cc
|
||||
return false unless options.empty?
|
||||
return false if formula.bottle_disabled?
|
||||
return true if formula.local_bottle_path
|
||||
return false unless bottle && formula.pour_bottle?
|
||||
return false unless formula.pour_bottle?
|
||||
|
||||
unless bottle.compatible_cellar?
|
||||
if install_bottle_options[:warn]
|
||||
|
Loading…
x
Reference in New Issue
Block a user