fix: setup command
All checks were successful
Continuous Delivery / build_n_upload (push) Successful in 26s

This commit is contained in:
2026-04-04 07:34:12 +02:00
parent 2c39bf1158
commit 25b9b02df2

View File

@@ -26,7 +26,7 @@ Install the database management system called postgresql with a predefined confi
chown postgres:postgres "%{_rundir}/postgresql"
# Init cluster if necessary
runuser --user=postgres -- if [ ! -f $PGDATA/PG_VERSION ]; then postgresql-setup --initdb; fi
runuser --user=postgres -- [ -f $PGDATA/PG_VERSION ] || postgresql-setup --initdb
# Restart services
systemctl daemon-reload