From cf65f8d42b4744bd22dafbeabc774a3a7419dc48 Mon Sep 17 00:00:00 2001 From: leo <426742@gmail.com> Date: Sun, 18 Aug 2024 08:03:19 +0500 Subject: [PATCH] add sudo --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index 81e66b7..7039264 100644 --- a/install.sh +++ b/install.sh @@ -72,7 +72,7 @@ echo "Install gitea..." cd /data/utils GITEA__database__PASSWD=$(pwgen -s 20 1); bash env-gen.sh GITEA__database__PASSWD $GITEA__database__PASSWD -bash init-db.sh gitea $GITEA__database__PASSWD +sudo bash init-db.sh gitea $GITEA__database__PASSWD cd /data git clone git@$GIT_SSH_DOMAIN:$GIT_USER/gitea.git cd gitea