mirror of
https://github.com/dqzboy/Docker-Proxy.git
synced 2026-01-12 16:25:42 +08:00
fix: Resolve the incompatibility issues with script updates.
This commit is contained in:
@@ -2537,6 +2537,9 @@ INSTALL_OR_UPDATE_CMD() {
|
||||
WARN "正在安装脚本中,请稍等..."
|
||||
else
|
||||
WARN "正在进行脚本更新,请稍等..."
|
||||
if [ -f "$TARGET_PATH" ]; then
|
||||
rm -f "$TARGET_PATH" &>/dev/null
|
||||
fi
|
||||
fi
|
||||
|
||||
wget -q -O "$TARGET_PATH" "$DOWNLOAD_URL" &>/dev/null
|
||||
|
||||
Reference in New Issue
Block a user