Created
November 13, 2021 13:32
-
-
Save gremi-jr/662050e1e0775fdfba3b8a803d6bd0ba to your computer and use it in GitHub Desktop.
Script to update Gitea from Turnkey.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
wget -O gitea https://dl.gitea.io/gitea/$1/gitea-$1-linux-amd64 | |
chmod +x gitea | |
systemctl stop gitea.serivce | |
mv gitea /home/git | |
systemctl start gitea.serivce |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment