mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
fixed again where script finds gitea
This commit is contained in:
parent
f70df3d963
commit
a0e6ba68fb
10 changed files with 629 additions and 2 deletions
|
@ -56,7 +56,7 @@ function default_settings() {
|
|||
|
||||
function update_script() {
|
||||
header_info
|
||||
if [[ ! -f /etc/systemd/system/gitea.service ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||
if [[ ! -f /usr/local/bin/gitea ]]; 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