Update zoraxy.sh

add `-rf` llags

Signed-off-by: tteckster <tteckster@gmail.com>
This commit is contained in:
tteckster 2024-11-03 14:53:24 -05:00 committed by GitHub
parent 43783920ef
commit 2fe24389d7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -60,7 +60,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
msg_info "Updating $APP to ${RELEASE}"
systemctl stop zoraxy
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
chmod +x /opt/zoraxy/zoraxy
systemctl start zoraxy