From b2a0b7a8eff0922a20f97d3dd3793e893b2858ea Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Thu, 19 May 2011 07:37:24 -0700 Subject: Move gz-only strategy into core. --- Library/Formula/tesseract.rb | 9 --------- 1 file changed, 9 deletions(-) (limited to 'Library/Formula') diff --git a/Library/Formula/tesseract.rb b/Library/Formula/tesseract.rb index 99a1c9c63..62639996d 100644 --- a/Library/Formula/tesseract.rb +++ b/Library/Formula/tesseract.rb @@ -1,13 +1,4 @@ require 'formula' -require 'download_strategy' - -# Normal strategy tries to untar as well -class GzipOnlyDownloadStrategy < CurlDownloadStrategy - def stage - FileUtils.mv @tarball_path, File.basename(@url) - safe_system '/usr/bin/gunzip', '-f', File.basename(@url) - end -end class TesseractEnglishData < Formula url 'http://tesseract-ocr.googlecode.com/files/eng.traineddata.gz', -- cgit v1.2.3