PostgreSQL@12: Fix style linter warning

master
Markus Wein 2020-11-23 18:44:49 +01:00 committed by Mike McQuaid
parent 6abcc87f43
commit cdfce01efa
1 changed files with 1 additions and 3 deletions

View File

@ -82,9 +82,7 @@ class PostgresqlAT12 < Formula
(var/"log").mkpath
versioned_data_dir.mkpath
unless versioned_pg_version_exists?
system "#{bin}/initdb", "--locale=C", "-E", "UTF-8", versioned_data_dir
end
system "#{bin}/initdb", "--locale=C", "-E", "UTF-8", versioned_data_dir unless versioned_pg_version_exists?
end
# Previous versions of this formula used the same data dir as the regular