8
0
Fork 0
mirror of https://gitlab2.federez.net/re2o/re2o synced 2025-01-11 02:34:28 +00:00

fix: sudo needed for postgresql

This commit is contained in:
Maël Kervella 2018-06-26 15:34:07 +00:00
parent 29309e3e69
commit 9be8243e66

View file

@ -134,7 +134,7 @@ install_database() {
if [ "$local_setup" == 1 ]; then
echo "Setting up local PostgreSQL server ..."
apt-get -y install postgresql
apt-get -y install postgresql sudo
sudo -u postgres psql --command="$pgsql_command1"
sudo -u postgres psql --command="$pgsql_command2"
sudo -u postgres psql --command="$pgsql_command3"