Merge "Re-add postgresql-setup initdb for Fedora"
This commit is contained in:
commit
48524a3f02
@ -23,6 +23,7 @@ function configure_database_postgresql {
|
||||
if [[ "$os_PACKAGE" = "rpm" ]]; then
|
||||
PG_HBA=/var/lib/pgsql/data/pg_hba.conf
|
||||
PG_CONF=/var/lib/pgsql/data/postgresql.conf
|
||||
sudo [ -e $PG_HBA ] || sudo postgresql-setup initdb
|
||||
else
|
||||
PG_DIR=`find /etc/postgresql -name pg_hba.conf|xargs dirname`
|
||||
PG_HBA=$PG_DIR/pg_hba.conf
|
||||
|
Loading…
Reference in New Issue
Block a user