Skip to content
Snippets Groups Projects
Commit 346a9738 authored by Jack Nagel's avatar Jack Nagel
Browse files

audit: check GNU urls


We now prefer "ftpmirror.gnu.org" over the main FTP site.

Signed-off-by: default avatarJack Nagel <jacknagel@gmail.com>
parent adb85c7f
No related branches found
No related tags found
No related merge requests found
......@@ -220,6 +220,13 @@ def audit_formula_urls f
end
end
# Check GNU urls
urls.each do |p|
if p =~ %r[ftp\.gnu\.org]
problems << " * ftpmirror.gnu.org is preferred for GNU software."
end
end
return problems
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment