diff --git a/postdeploy.sh b/postdeploy.sh index a7619ab..47fc3a2 100755 --- a/postdeploy.sh +++ b/postdeploy.sh @@ -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"