aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorJack Nagel2011-08-26 11:08:39 -0500
committerJack Nagel2011-08-26 11:09:07 -0500
commit294ca58661a87f0d88c7aedd566a898f80876cc9 (patch)
tree62d8c306f66932526c0c73ee5ba2d4c59356c577 /Library
parent59789970ec2e2a72810c1be2ff9dd76380f3fff1 (diff)
downloadhomebrew-294ca58661a87f0d88c7aedd566a898f80876cc9.tar.bz2
midnight-commander: use CurlUnsafeDownloadStrategy
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/midnight-commander.rb10
1 files changed, 1 insertions, 9 deletions
diff --git a/Library/Formula/midnight-commander.rb b/Library/Formula/midnight-commander.rb
index c2864b433..54c4e766e 100644
--- a/Library/Formula/midnight-commander.rb
+++ b/Library/Formula/midnight-commander.rb
@@ -1,16 +1,8 @@
require 'formula'
-class MidnightCommanderDownloadStrategy < CurlDownloadStrategy
- # midnight-commander.org uses a self-signed cert, which is
- # silly and trips curl up
- def _fetch
- curl '-k', @url, '-o', @tarball_path
- end
-end
-
class MidnightCommander < Formula
url 'http://www.midnight-commander.org/downloads/mc-4.7.5.3.tar.bz2',
- :using => MidnightCommanderDownloadStrategy
+ :using => CurlUnsafeDownloadStrategy
homepage 'http://www.midnight-commander.org/'
sha256 '0875b4c745d771b65ab71d0a295f2e6e91297121411a82068e2879f39a7628b6'