From 9be8243e667e9d97bdbe7f7650b0cff043efd9c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Kervella?= Date: Tue, 26 Jun 2018 15:34:07 +0000 Subject: [PATCH] fix: sudo needed for postgresql --- install_re2o.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install_re2o.sh b/install_re2o.sh index 28574539..cdca3a80 100755 --- a/install_re2o.sh +++ b/install_re2o.sh @@ -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"