aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/bottles.rb
diff options
context:
space:
mode:
authorJack Nagel2014-07-18 15:14:42 -0500
committerJack Nagel2014-07-18 15:15:12 -0500
commit49a97c280a35fe07bce036467da85ace0c006fa7 (patch)
treefc46a04bd185a762a3d779c0892bf3c474674cc0 /Library/Homebrew/bottles.rb
parent1cc37470947ed594dbb42a4138b34d33c74cb17d (diff)
downloadbrew-49a97c280a35fe07bce036467da85ace0c006fa7.tar.bz2
Ask the filename object for the prefix
Diffstat (limited to 'Library/Homebrew/bottles.rb')
-rw-r--r--Library/Homebrew/bottles.rb5
1 files changed, 0 insertions, 5 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb
index 90c9aba08..f2b5fffe4 100644
--- a/Library/Homebrew/bottles.rb
+++ b/Library/Homebrew/bottles.rb
@@ -19,11 +19,6 @@ def bottle_file_outdated? f, file
bottle_ext && bottle_url_ext && bottle_ext != bottle_url_ext
end
-def bottle_suffix revision
- revision = revision > 0 ? ".#{revision}" : ""
- ".bottle#{revision}.tar.gz"
-end
-
def bottle_native_regex
/(\.#{bottle_tag}\.bottle\.(\d+\.)?tar\.gz)$/o
end