mirror of
https://github.com/tteck/Proxmox.git
synced 2025-02-19 12:56:01 +00:00
fix path
This commit is contained in:
@@ -61,7 +61,7 @@ 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) }')
|
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
|
tar zxvf <(curl -fsSL https://github.com/mylar3/mylar3/archive/refs/tags/${RELEASE}.tar.gz) &>/dev/null
|
||||||
RELEASE="${RELEASE:1}"
|
RELEASE="${RELEASE:1}"
|
||||||
\cp -r mylar-${RELEASE}/* /opt/mylar3 &>/dev/null
|
\cp -r mylar3-${RELEASE}/* /opt/mylar3 &>/dev/null
|
||||||
rm -rf mylar3-${RELEASE}
|
rm -rf mylar3-${RELEASE}
|
||||||
cd /opt/mylar3
|
cd /opt/mylar3
|
||||||
python3 -m pip install -r requirements.txt &>/dev/null
|
python3 -m pip install -r requirements.txt &>/dev/null
|
||||||
|
|||||||
Reference in New Issue
Block a user