mirror of https://github.com/tteck/Proxmox.git
parent
ee3b69fffe
commit
f267ee196e
|
@ -56,8 +56,7 @@ function update_script() {
|
||||||
header_info
|
header_info
|
||||||
if [[ ! -d /opt/readeck ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/readeck ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating ${APP}"
|
msg_info "Updating ${APP}"
|
||||||
LATEST=$(curl -s https://codeberg.org/readeck/readeck/releases/ | grep -oP '(?<=Version )\d+\.\d+\.\d+' | head -1
|
LATEST=$(curl -s https://codeberg.org/readeck/readeck/releases/ | grep -oP '(?<=Version )\d+\.\d+\.\d+' | head -1)
|
||||||
)
|
|
||||||
systemctl stop readeck.service
|
systemctl stop readeck.service
|
||||||
rm -rf /opt/readeck/readeck
|
rm -rf /opt/readeck/readeck
|
||||||
cd /opt/readeck
|
cd /opt/readeck
|
||||||
|
|
Loading…
Reference in New Issue