From aca18a9c0a8773c15716242ca05bb253a805c61e Mon Sep 17 00:00:00 2001 From: lsy Date: Tue, 24 Sep 2024 02:06:59 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=89=E8=A3=85=E8=84=9A=E6=9C=AC=E6=A3=80?= =?UTF-8?q?=E6=B5=8B=E6=9C=89=E6=B2=A1=E6=9C=89=E4=B8=8B=E8=BD=BD=E6=88=90?= =?UTF-8?q?=E5=8A=9F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Menus/Install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Menus/Install.sh b/Menus/Install.sh index c1435f0..a09d8a8 100644 --- a/Menus/Install.sh +++ b/Menus/Install.sh @@ -51,9 +51,10 @@ else url='https://github.com/lsy2246/linuxtool.git' fi +echo "正在下载脚本中" git clone "$url" "$path/linuxtool" &> /dev/null -if [[ -d "${path}/linuxtool" ]];then +if ! [[ -d "${path}/linuxtool" ]];then echo "脚本下载失败" exit fi