aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/audit.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index d51e18f49..5dab3047c 100644
--- a/Library/Homebrew/cmd/audit.rb
+++ b/Library/Homebrew/cmd/audit.rb
@@ -468,11 +468,11 @@ class FormulaAuditor
end
def audit_specs
- if head_only?(formula) && formula.tap.to_s.downcase != "homebrew/homebrew-head-only"
+ if head_only?(formula) && formula.tap.to_s.downcase !~ /-head-only$/
problem "Head-only (no stable download)"
end
- if devel_only?(formula) && formula.tap.to_s.downcase != "homebrew/homebrew-devel-only"
+ if devel_only?(formula) && formula.tap.to_s.downcase !~ /-devel-only$/
problem "Devel-only (no stable download)"
end