mxcl/homebrew — Issue #8100: Check Cache Before Downloading
Author: sorin-ionescu
Created: 2011-10-13 19:44:04+00:00
State: open

I have tried to install `gnu-grep`, which is much faster than `bsd-grep`, but `http://mirror.gnu.org` is down.

I have manually connect via FTP to a GNU server and downloaded the file to `~/Library/Caches/Homebrew/grep-2.9.tar.gz`.

However, `brew` fails to install with `Error: Download failed: http://mirror.gnu.org/grep/grep-2.9.tar.gz`.

Homebrew should not depend on `curl` to detect if a source archive is cached.