This commit is contained in:
Luke Murphy 2020-03-12 16:40:17 +01:00
parent c2f26be35e
commit e7bedec4dc
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC

View File

@ -11,7 +11,7 @@ setup_db() {
setup_root_user() {
set -eu
user_count=$(sqlite3 /data/gitea.db "select count(*) from user;")
user_count=$(sqlite3 /data/gitea/gitea.db "select count(*) from user;")
if [[ "${user_count}" == "0" ]]; then
echo "==> Setting up root user for first run"