diff options
| author | Jack Nagel | 2014-03-05 10:24:33 -0600 | 
|---|---|---|
| committer | Jack Nagel | 2014-03-05 10:24:33 -0600 | 
| commit | 2c4e0fd7957dac9ce2bae6d7abb579268ace9f86 (patch) | |
| tree | 3de904c26e2cf2fa272a82cb80a8f445c82b8409 /Library/Homebrew/bottles.rb | |
| parent | a0d1690bd6b33d86b762c79883f674f3c2d2a55a (diff) | |
| download | homebrew-2c4e0fd7957dac9ce2bae6d7abb579268ace9f86.tar.bz2 | |
Consolidate bottle defaults and remove a method
Diffstat (limited to 'Library/Homebrew/bottles.rb')
| -rw-r--r-- | Library/Homebrew/bottles.rb | 7 | 
1 files changed, 1 insertions, 6 deletions
diff --git a/Library/Homebrew/bottles.rb b/Library/Homebrew/bottles.rb index 2888a09c4..b1638286a 100644 --- a/Library/Homebrew/bottles.rb +++ b/Library/Homebrew/bottles.rb @@ -67,13 +67,8 @@ def bottle_regex    Pathname::BOTTLE_EXTNAME_RX  end -def bottle_root_url f -  root_url = f.bottle.root_url -  root_url ||= 'https://downloads.sf.net/project/machomebrew/Bottles' -end -  def bottle_url f, tag=bottle_tag -  "#{bottle_root_url(f)}/#{bottle_filename(f, {:tag => tag})}" +  "#{f.bottle.root_url}/#{bottle_filename(f, :tag => tag)}"  end  def bottle_tag  | 
