diff --git a/upgrade.sh b/upgrade.sh index 0b25d68..fdeacc8 100755 --- a/upgrade.sh +++ b/upgrade.sh @@ -28,7 +28,7 @@ function download() { gpg --keyserver keys.openpgp.org --recv 7C9E68152594688862D62AF62D9AE806EC1592E2 gpg --verify $BINDIR/gitea-$VERSION-linux-amd64.asc $BINDIR/gitea-$VERSION-linux-amd64 chmod u+x $BINDIR/gitea-$VERSION-linux-amd64 - chown gitea.gitea $BINDIR/gitea-$VERSION-linux-amd64 + chown gitea:gitea $BINDIR/gitea-$VERSION-linux-amd64 set +x }