修复 bot无法更新

This commit is contained in:
Miaoerr 2022-07-09 13:15:33 +08:00 committed by GitHub
parent b2afa65cb1
commit 10ca60a329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 "\nbot依赖安装成功...\n"
echo -e "2、下载bot所需文件...\n" echo -e "2、下载bot所需文件...\n"
if [[ ! -d ${repo_path}/.git ]]; then if [[ -d ${repo_path}/.git ]]; then
rm -rf ${repo_path} rm -rf ${repo_path}
git_clone_scripts ${url} ${repo_path} "main" git_clone_scripts ${url} ${repo_path} "main"
fi fi