Update gitea.sh (#3426)

Fix permissions
https://docs.gitea.com/installation/install-from-binary
pull/3431/head
vrozaksen 2024-07-26 16:04:40 +00:00 committed by GitHub
parent 32ae8c1f4f
commit f59c1227be
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 0 deletions

View File

@ -62,6 +62,7 @@ wget -q https://github.com/go-gitea/gitea/releases/download/v$RELEASE/gitea-$REL
systemctl stop gitea systemctl stop gitea
rm -rf /usr/local/bin/gitea rm -rf /usr/local/bin/gitea
mv gitea* /usr/local/bin/gitea mv gitea* /usr/local/bin/gitea
chmod +x /usr/local/bin/gitea
systemctl start gitea systemctl start gitea
msg_ok "Updated $APP Successfully" msg_ok "Updated $APP Successfully"
exit exit