forgejo-updater/instalar-gitea

10 lines
260 B
Text
Raw Normal View History

2023-01-30 19:16:41 +00:00
#!/bin/sh
# Editar en https://gitea.nulo.in/Nulo/forgejo-updater si se cambia
bin=/usr/local/bin/gitea
new=/usr/local/bin/gitea.new
rm "$new"
cat /dev/stdin > "$new" || exit $?
chmod +x "$new" || exit $?
mv "$new" "$bin" || exit $?
sv restart gitea || exit $?