mirror of
https://github.com/chaitin/SafeLine.git
synced 2026-02-06 00:33:56 +08:00
升级脚本里的 wget 换成 curl
This commit is contained in:
@@ -176,7 +176,7 @@ fi
|
||||
|
||||
mv $compose_name $compose_name.old
|
||||
|
||||
wget "https://waf-ce.chaitin.cn/release/latest/compose.yaml" --no-check-certificate -O $compose_name
|
||||
curl "https://waf-ce.chaitin.cn/release/latest/compose.yaml" -sSLk -o $compose_name
|
||||
if [ $? -ne "0" ]; then
|
||||
abort "下载 compose.yaml 脚本失败"
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user