Merge pull request #2526 from MikeMcQuaid/audit-gnu-mirror-flip
audit: flip GNU mirror preference.
This commit is contained in:
commit
5c82e0d552
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user