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
|
def audit_urls
|
||||||
# Check GNU urls; doesn't apply to mirrors
|
# Check GNU urls; doesn't apply to mirrors
|
||||||
if url =~ %r{^(?:https?|ftp)://(?!alpha).+/gnu/}
|
if url =~ %r{^(?:https?|ftp)://ftpmirror.gnu.org/(.*)}
|
||||||
problem "Please use \"https://ftpmirror.gnu.org\" instead of #{url}."
|
problem "Please use \"https://ftp.gnu.org/gnu/#{$1}\" instead of #{url}."
|
||||||
end
|
end
|
||||||
|
|
||||||
if mirrors.include?(url)
|
if mirrors.include?(url)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user