aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Formula/zabbix.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Formula/zabbix.rb')
-rw-r--r--Library/Formula/zabbix.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Formula/zabbix.rb b/Library/Formula/zabbix.rb
index 23cc75077..e05fabf00 100644
--- a/Library/Formula/zabbix.rb
+++ b/Library/Formula/zabbix.rb
@@ -10,7 +10,7 @@ class Zabbix < Formula
unless build.include? 'agent-only'
depends_on :mysql => :optional
- depends_on :postgresql unless build.with? 'mysql'
+ depends_on :postgresql if build.without? 'mysql'
depends_on 'fping'
depends_on 'libssh2'
end