mirror of https://github.com/tteck/Proxmox.git
parent
239b9ea0ba
commit
4fa50c9100
|
@ -55,7 +55,7 @@ header_info
|
||||||
if [[ ! -d /opt/Kavita ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
if [[ ! -d /opt/Kavita ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
|
||||||
msg_info "Updating $APP LXC"
|
msg_info "Updating $APP LXC"
|
||||||
systemctl stop kavita
|
systemctl stop kavita
|
||||||
RELEASE=$(curl -s https://api.github.com/repos/Kareadita/Kavita/releases/latest | grep "tag_name" | awk '{print substr($2, 2, l>
|
RELEASE=$(curl -s https://api.github.com/repos/Kareadita/Kavita/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||||
tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz) &>/dev/null
|
tar -xvzf <(curl -fsSL https://github.com/Kareadita/Kavita/releases/download/$RELEASE/kavita-linux-x64.tar.gz) &>/dev/null
|
||||||
rm -rf Kavita/config
|
rm -rf Kavita/config
|
||||||
cp -r Kavita/* /opt/Kavita
|
cp -r Kavita/* /opt/Kavita
|
||||||
|
|
Loading…
Reference in New Issue