aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index ed97b01a8..db56663a4 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -216,6 +216,10 @@ class FormulaAuditor
# the rest of the checks apply to mirrors as well
urls.concat(@specs.map(&:mirrors).flatten)
+ urls.grep(%r[^(https?|ftp)://ftp\.gnome]) do |u|
+ problem %{download.gnome.org is preferred for GNOME software (url is #{u}).}
+ end
+
# Check SourceForge urls
urls.each do |p|
# Skip if the URL looks like a SVN repo