Update upgrade_gitea

This commit is contained in:
Christian P. MOMON 2023-03-06 18:14:56 +00:00
parent 5babce48ac
commit 965b813b9e
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ else
su - git -c "cd /srv/gitea/bin ; $BINDIR/gitea dump --tempdir $GITEA_HOME/tmp/ -c /etc/gitea/gitea.ini"
# Call doctor.
su - git -c "cd /srv/gitea/bin ; $BINDIR/gitea doctor --all --fix -c /etc/gitea/gitea.ini"
su - git -c "cd /srv/gitea/bin ; $BINDIR/gitea doctor --all --fix -c /etc/gitea/gitea.ini -C /srv/gitea/custom -w /srv/gitea"
# Upgrade.
chmod u+x gitea-$VERSION-linux-amd64