From 99fa03f487fc781bd7d8d209eb4b43ce51c40d4b Mon Sep 17 00:00:00 2001 From: wanghanwen Date: Mon, 17 Jul 2023 03:04:07 +0000 Subject: [PATCH] =?UTF-8?q?update=20package/common/download.sh.=20?= =?UTF-8?q?=E5=A4=84=E7=90=86=20=E6=96=87=E4=BB=B6=E4=B8=8B=E8=BD=BD?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E6=88=96=E8=80=85=E6=B2=A1=E6=9C=89=E8=81=94?= =?UTF-8?q?=E7=BD=91=E5=B0=B1=E4=B8=8B=E8=BD=BD=E4=BC=9A=E5=AF=BC=E8=87=B4?= =?UTF-8?q?=E6=96=87=E4=BB=B6=E4=B8=8D=E5=AE=8C=E6=95=B4=EF=BC=880KB?= =?UTF-8?q?=EF=BC=89=E6=97=B6=EF=BC=8C=E6=96=87=E4=BB=B6=E6=9C=AA=E5=88=A0?= =?UTF-8?q?=E9=99=A4=20=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: wanghanwen --- package/common/download.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/common/download.sh b/package/common/download.sh index 015c815..2f3cef1 100755 --- a/package/common/download.sh +++ b/package/common/download.sh @@ -38,7 +38,7 @@ fi if [ ! -e $exist_path ];then if [ "$type_" == "wget" ];then echo -e "\033[0;32m[Info]\033[0m:Using commands: wget $url -O $exist_path --no-check-certificate" - wget $url -O $exist_path --no-check-certificate + wget $url -O $exist_path --no-check-certificate || rm -rf $exist_path elif [ "$type_" == "git" ];then echo -e "\033[0;32m[Info]\033[0m:Using commands: git clone $url $exist_path" git clone $url $exist_path -- Gitee