diff options
| author | Alexis Hildebrandt | 2009-12-27 14:33:12 +0100 |
|---|---|---|
| committer | Max Howell | 2009-12-31 01:55:10 +0000 |
| commit | 8b7b132620f70746afd4bbdff21f7915752ad24e (patch) | |
| tree | a10f8a91cb0facc8fa593759182f2a770a6fb248 /Library/Homebrew | |
| parent | 3ce7637c140401312bd3367c5fcf4251f255d938 (diff) | |
| download | brew-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.rb | 2 |
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 |
