updater.sh hinzugefügt

This commit is contained in:
Manuel Kamper 2024-01-12 17:38:56 +00:00
parent 8117a9e367
commit b6807f6331
1 changed files with 9 additions and 0 deletions

9
updater.sh Normal file
View File

@ -0,0 +1,9 @@
#!/bin/bash
# Set path to your gitea binary
gitea=/usr/local/bin/gitea
### NO EDITS BELOW HERE NEEDED ###
systemctl stop gitea.service
curl -s https://api.github.com/repos/go-gitea/gitea/releases/latest | grep -P ">
chmod +x $gitea
systemctl start gitea.service