Skip to content

Commit 2fe2438

Browse files
authored
Update zoraxy.sh
add `-rf` llags Signed-off-by: tteckster <[email protected]>
1 parent 4378392 commit 2fe2438

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ct/zoraxy.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ if [[ ! -f /opt/${APP}_version.txt ]] || [[ "${RELEASE}" != "$(cat /opt/${APP}_v
6060
msg_info "Updating $APP to ${RELEASE}"
6161
systemctl stop zoraxy
6262
wget -q "https://github.com/tobychui/zoraxy/releases/download/${RELEASE}/zoraxy_linux_amd64"
63-
rm /opt/zoraxy/zoraxy
63+
rm -rf /opt/zoraxy/zoraxy
6464
mv zoraxy_linux_amd64 /opt/zoraxy/zoraxy
6565
chmod +x /opt/zoraxy/zoraxy
6666
systemctl start zoraxy

0 commit comments

Comments
 (0)