diff --git a/.github/scripts/install.sh b/.github/scripts/install.sh index d8e095b90..b8d0ac102 100644 --- a/.github/scripts/install.sh +++ b/.github/scripts/install.sh @@ -31,8 +31,8 @@ apt-get install -y gstreamer1.0-plugins-base \ postgresql-client # Creating database for testing --u postgres psql -c 'CREATE DATABASE libretime;' --u postgres psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" --u postgres psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;' --u postgres psql -c 'ALTER USER libretime CREATEDB;' +sudo -u postgres psql -c 'CREATE DATABASE libretime;' +sudo -u postgres psql -c "CREATE USER libretime WITH PASSWORD 'libretime';" +sudo -u postgres psql -c 'GRANT CONNECT ON DATABASE libretime TO libretime;' +sudo -u postgres psql -c 'ALTER USER libretime CREATEDB;' mkdir -p /tmp/log/libretime \ No newline at end of file