aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xLibrary/Homebrew/cmd/audit.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 865cadf7c..30219a9ea 100755
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -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