From ad01b141b7cc884f10d8a2ddf760653787e4cdc9 Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Wed, 23 Sep 2009 16:22:16 -0600 Subject: [PATCH] Don't use file, just check the magic numbers instead Closes Homebrew/homebrew#58 --- Library/Homebrew/download_strategy.rb | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index 58e5b197b5..5d4afcddae 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -49,12 +49,15 @@ class HttpDownloadStrategy