mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-15 06:09:15 +01:00
more changes
This commit is contained in:
parent
4a73b31efc
commit
5a75542273
2 changed files with 14 additions and 15 deletions
|
@ -59,10 +59,7 @@ if [[ ! -d /opt/mylar3 ]]; then msg_error "No ${APP} Installation Found!"; exit;
|
|||
msg_info "Updating $APP"
|
||||
systemctl stop mylar3.service
|
||||
RELEASE=$(curl -s https://api.github.com/repos/mylar3/mylar3/releases/latest | grep "tag_name" | awk '{print substr($2, 2, length($2)-3) }')
|
||||
tar zxvf <(curl -fsSL https://github.com/mylar3/mylar3/archive/refs/tags/${RELEASE}.tar.gz) &>/dev/null
|
||||
RELEASE="${RELEASE:1}"
|
||||
\cp -r mylar3-${RELEASE}/* /opt/mylar3 &>/dev/null
|
||||
rm -rf mylar3-${RELEASE}
|
||||
tar zxvf <(curl -fsSL https://github.com/mylar3/mylar3/archive/refs/tags/${RELEASE}.tar.gz) -C /opt/mylar3
|
||||
cd /opt/mylar3
|
||||
python3 -m pip install -r requirements.txt &>/dev/null
|
||||
systemctl start mylar3.service
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue