diff options
| author | Jack Nagel | 2014-03-30 18:00:00 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-03-30 18:00:00 -0500 |
| commit | 557ef8df05a8ea28ed903f08b2009ebc0e218f5a (patch) | |
| tree | ab2e982d7587499157a3f2d1cef58b466f6d748b /Library | |
| parent | ca048e8001dab30263436670c630506f777a1fed (diff) | |
| download | homebrew-557ef8df05a8ea28ed903f08b2009ebc0e218f5a.tar.bz2 | |
Audit gnome URLs, prefer download.gnome.org
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 4 |
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 |
