Browse Source

fix: Resolve the incompatibility issues with script updates.

dqzboy 1 year ago
parent
commit
1641086391
1 changed files with 0 additions and 3 deletions
  1. 0 3
      install/DockerProxy_Install.sh

+ 0 - 3
install/DockerProxy_Install.sh

@@ -2539,9 +2539,6 @@ INSTALL_OR_UPDATE_CMD() {
             WARN "正在进行脚本更新,请稍等..."
         fi
         
-        if [ -f "$TARGET_PATH" ]; then
-            rm -f "$TARGET_PATH" &>/dev/null
-        fi
         wget -q -O "$TARGET_PATH" "$DOWNLOAD_URL" &>/dev/null
         if [ $? -eq 0 ]; then
             success=true