9 lines
260 B
Bash
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 $?
|