aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/bottles.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 4f6841934..57607e0f7 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -26,7 +26,7 @@ def bottle_current? f
end
def bottle_new_version f
- return 0 unless f.bottle_version
+ return 0 unless bottle_current? f
f.bottle_version + 1
end