Skip to content
Snippets Groups Projects
Commit 5c82e0d5 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

Merge pull request #2526 from MikeMcQuaid/audit-gnu-mirror-flip

audit: flip GNU mirror preference.
parents 044bd974 94ef7318
No related branches found
No related tags found
No related merge requests found
......@@ -1428,8 +1428,8 @@ class ResourceAuditor
def audit_urls
# Check GNU urls; doesn't apply to mirrors
if url =~ %r{^(?:https?|ftp)://(?!alpha).+/gnu/}
problem "Please use \"https://ftpmirror.gnu.org\" instead of #{url}."
if url =~ %r{^(?:https?|ftp)://ftpmirror.gnu.org/(.*)}
problem "Please use \"https://ftp.gnu.org/gnu/#{$1}\" instead of #{url}."
end
if mirrors.include?(url)
......
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