aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorDominyk Tiller2015-07-23 20:07:34 +0100
committerDominyk Tiller2015-07-23 22:29:31 +0100
commit2751449abb69a5dee3f919c33db761c1ec2d2bfa (patch)
treea77f9a65d28d82386c9e446eecb96666c3f031a0 /Library
parentc6e3a0240a6764665f3e55897fdbd737ab6ac5ad (diff)
downloadbrew-2751449abb69a5dee3f919c33db761c1ec2d2bfa.tar.bz2
formula_installer: tweak priority of true
Closes Homebrew/homebrew#41913. Signed-off-by: Dominyk Tiller <dominyktiller@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/formula_installer.rb3
1 files changed, 1 insertions, 2 deletions
diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb
index 6d9c0b938..428fb203c 100644
--- a/Library/Homebrew/formula_installer.rb
+++ b/Library/Homebrew/formula_installer.rb
@@ -61,11 +61,10 @@ class FormulaInstaller
return false if @pour_failed
bottle = formula.bottle
- return true if force_bottle? && bottle
+ return true if (force_bottle? && bottle) || formula.local_bottle_path
return false if build_from_source? || build_bottle? || interactive? || formula.file_modified?
return false unless options.empty?
- return true if formula.local_bottle_path
return false unless bottle && formula.pour_bottle?
unless bottle.compatible_cellar?