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