add sudo
This commit is contained in:
parent
ce859554bb
commit
cf65f8d42b
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user