Permalink
Browse files

slony: Check for postgres instead of pg_config

This is a better check for ensuring that a server is available.

Closes #15403.

Signed-off-by: Charlie Sharpsteen <source@sharpsteen.net>
  • Loading branch information...
1 parent de6fff0 commit fd7249d73266a6458610621ad28eb3649ae5661a Allen Huang committed with Sharpie Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Library/Formula/slony.rb
View
@@ -12,7 +12,7 @@ def message; <<-EOS.undent
EOS
end
def satisfied?
- which 'pg_config'
+ which 'postgres'
end
def fatal?
true

0 comments on commit fd7249d

Please sign in to comment.