aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorAlexis Hildebrandt2009-12-27 14:33:12 +0100
committerMax Howell2009-12-31 01:55:10 +0000
commit8b7b132620f70746afd4bbdff21f7915752ad24e (patch)
treea10f8a91cb0facc8fa593759182f2a770a6fb248 /Library/Homebrew
parent3ce7637c140401312bd3367c5fcf4251f255d938 (diff)
downloadbrew-8b7b132620f70746afd4bbdff21f7915752ad24e.tar.bz2
Add support for compress compressed tarballs (.tar.Z)
Fixes Homebrew/homebrew#295
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/download_strategy.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb
index 134fbe2fd..68cb0bf16 100644
--- a/Library/Homebrew/download_strategy.rb
+++ b/Library/Homebrew/download_strategy.rb
@@ -86,7 +86,7 @@ class CurlDownloadStrategy <AbstractDownloadStrategy
when /^PK\003\004/ # .zip archive
quiet_safe_system '/usr/bin/unzip', {:quiet_flag => '-qq'}, @dl
chdir
- when /^\037\213/, /^BZh/ # gzip/bz2 compressed
+ when /^\037\213/, /^BZh/, /^\037\235/ # gzip/bz2/compress compressed
# TODO check if it's really a tar archive
safe_system '/usr/bin/tar', 'xf', @dl
chdir