From 8b7b132620f70746afd4bbdff21f7915752ad24e Mon Sep 17 00:00:00 2001 From: Alexis Hildebrandt Date: Sun, 27 Dec 2009 14:33:12 +0100 Subject: [PATCH] Add support for compress compressed tarballs (.tar.Z) Fixes Homebrew/homebrew#295 --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 134fbe2fd4..68cb0bf16c 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -86,7 +86,7 @@ class CurlDownloadStrategy '-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