From 10ca60a329ff7493d706aa96e010028ba76cd276 Mon Sep 17 00:00:00 2001 From: Miaoerr <49992926+Miaoerr@users.noreply.github.com> Date: Sat, 9 Jul 2022 13:15:33 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=20bot=E6=97=A0=E6=B3=95?= =?UTF-8?q?=E6=9B=B4=E6=96=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shell/bot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/bot.sh b/shell/bot.sh index 808b009a..d1e825b7 100644 --- a/shell/bot.sh +++ b/shell/bot.sh @@ -17,7 +17,7 @@ apk --no-cache add -f zlib-dev gcc jpeg-dev python3-dev musl-dev freetype-dev echo -e "\nbot依赖安装成功...\n" echo -e "2、下载bot所需文件...\n" -if [[ ! -d ${repo_path}/.git ]]; then +if [[ -d ${repo_path}/.git ]]; then rm -rf ${repo_path} git_clone_scripts ${url} ${repo_path} "main" fi