postgresql: fix initdb postinstall check.
This commit is contained in:
parent
8b9271a7c3
commit
56eadadcff
1 changed files with 1 additions and 1 deletions
|
@ -84,7 +84,7 @@ class Postgresql < Formula
|
|||
|
||||
def post_install
|
||||
(var/"postgres").mkpath
|
||||
unless File.exist? "#{var}/postgres"
|
||||
unless File.exist? "#{var}/postgres/PG_VERSION"
|
||||
system "#{bin}/initdb", "#{var}/postgres"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Reference in a new issue