Browse Source

fix: sudo needed for postgresql

tests_ci
Maël Kervella 8 years ago
parent
commit
9be8243e66
  1. 2
      install_re2o.sh

2
install_re2o.sh

@ -134,7 +134,7 @@ install_database() {
if [ "$local_setup" == 1 ]; then if [ "$local_setup" == 1 ]; then
echo "Setting up local PostgreSQL server ..." 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_command1"
sudo -u postgres psql --command="$pgsql_command2" sudo -u postgres psql --command="$pgsql_command2"
sudo -u postgres psql --command="$pgsql_command3" sudo -u postgres psql --command="$pgsql_command3"

Loading…
Cancel
Save