diff --git a/cmd/brew-aspell-dictionaries.rb b/cmd/brew-aspell-dictionaries.rb index eec7375af5e..4de399bf794 100755 --- a/cmd/brew-aspell-dictionaries.rb +++ b/cmd/brew-aspell-dictionaries.rb @@ -23,12 +23,17 @@ URI.parse("#{dict_url}/0index.html").open do |content| end end -languages.each do |lang, path| +resources = languages.map do |lang, path| r = Resource.new(lang) r.owner = Formulary.factory("aspell") r.url "#{dict_url}/#{path}" r.mirror "#{dict_mirror}/#{path}" - r.fetch + r +end + +resources.each {|r| r.fetch(verify_download_integrity: false)} + +resources.each do |r| puts <<-EOS resource "#{r.name}" do url "#{r.url}"