aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/gnu-chess.rb
diff options
context:
space:
mode:
authorJack Nagel2011-09-12 11:31:30 -0500
committerJack Nagel2011-09-12 15:08:20 -0500
commitd0dfc22b504062808119afd95322ef88f0e4b79b (patch)
treed64470e31cb923f0c970e18b071ef209bef9fc66 /Library/Formula/gnu-chess.rb
parent93a1fc6988dbeb2395201442d70b10e15a529036 (diff)
downloadhomebrew-d0dfc22b504062808119afd95322ef88f0e4b79b.tar.bz2
Use automatic mirror selection for GNU downloads
It seems that the main GNU download site has issues in some places outside the U.S., so we'll use the provided "ftpmirror.gnu.org" to pick a nearby mirror. Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula/gnu-chess.rb')
-rw-r--r--Library/Formula/gnu-chess.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Formula/gnu-chess.rb b/Library/Formula/gnu-chess.rb
index a06663e9d..9aebc708d 100644
--- a/Library/Formula/gnu-chess.rb
+++ b/Library/Formula/gnu-chess.rb
@@ -1,7 +1,7 @@
require 'formula'
class GnuChess < Formula
- url 'http://ftp.gnu.org/pub/gnu/chess/gnuchess-5.07.tar.gz'
+ url 'http://ftpmirror.gnu.org/chess/gnuchess-5.07.tar.gz'
homepage 'http://www.gnu.org/software/chess/'
md5 '259da00aa559e5624c65279484fccaf7'
@@ -21,7 +21,7 @@ class GnuChess < Formula
# Opening book for gnuchess. This can be put in the doc directory and the
# user can optionally add the opening book. The README has details on
# adding the opening book.
- book_url = "http://ftp.gnu.org/pub/gnu/chess/book_1.01.pgn.gz"
+ book_url = "http://ftpmirror.gnu.org/chess/book_1.01.pgn.gz"
ohai "Downloading #{book_url}"
curl book_url, "-O"