forgejo-updater/instalar-gitea
Nulo db1ccbb3b6
Some checks failed
repro-run Corre repro-run.json
kdkaskaldsjfalkds
2023-01-30 16:16:41 -03:00

9 lines
260 B
Bash

#!/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 $?