Merge "Remove use of nonexistent postgresql-setup."

This commit is contained in:
Jenkins 2012-11-16 14:05:16 +00:00 committed by Gerrit Code Review
commit 82b0bd8301

View File

@ -28,7 +28,6 @@ function configure_database_postgresql {
PG_HBA=$PG_DIR/pg_hba.conf
PG_CONF=$PG_DIR/postgresql.conf
fi
sudo [ -e /var/lib/pgsql/data ] || sudo postgresql-setup initdb
# Listen on all addresses
sudo sed -i "/listen_addresses/s/.*/listen_addresses = '*'/" $PG_CONF
# Do password auth from all IPv4 clients