brew-aspell-dictionaries: reverse url/mirror.

master
Mike McQuaid 2017-12-05 08:58:27 +00:00
parent a8ec9ccd7f
commit 9f0ac390e2
1 changed files with 3 additions and 2 deletions

View File

@ -5,8 +5,9 @@ require "open-uri"
require "resource" require "resource"
require "formula" require "formula"
dict_url = "https://ftpmirror.gnu.org/aspell/dict" dict_url = "https://ftp.gnu.org/gnu/aspell/dict"
dict_mirror = "https://ftp.gnu.org/gnu/aspell/dict" dict_mirror = "https://ftpmirror.gnu.org/aspell/dict"
languages = {} languages = {}
open("#{dict_url}/0index.html") do |content| open("#{dict_url}/0index.html") do |content|