mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
fixed where the script looks for gitea.service
This commit is contained in:
parent
86b5c8e9b5
commit
dc1a6fce0a
5 changed files with 337 additions and 1 deletions
|
@ -62,7 +62,7 @@ function default_settings() {
|
|||
|
||||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -f /lib/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
if [[ ! -f /etc/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
RELEASE=$(wget -q https://github.com/go-gitea/gitea/releases/latest -O - | grep "title>Release" | cut -d " " -f 4)
|
||||
VERSION=${RELEASE#v}
|
||||
msg_info "Updating gitea to ${RELEASE}"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue