mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-02-01 21:51:51 +00:00
Update zoraxy.sh
add `-rf` llags Signed-off-by: tteckster <tteckster@gmail.com>
This commit is contained in:
parent
43783920ef
commit
2fe24389d7
@ -60,7 +60,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
|
|||||||
msg_info "Updating $APP to ${RELEASE}"
|
msg_info "Updating $APP to ${RELEASE}"
|
||||||
systemctl stop zoraxy
|
systemctl stop zoraxy
|
||||||
wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_amd64"
|
wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_amd64"
|
||||||
rm /opt/zoraxy/zoraxy
|
rm -rf /opt/zoraxy/zoraxy
|
||||||
mv zoraxy_linux_amd64 /opt/zoraxy/zoraxy
|
mv zoraxy_linux_amd64 /opt/zoraxy/zoraxy
|
||||||
chmod +x /opt/zoraxy/zoraxy
|
chmod +x /opt/zoraxy/zoraxy
|
||||||
systemctl start zoraxy
|
systemctl start zoraxy
|
||||||
|
Loading…
x
Reference in New Issue
Block a user