ql bot移除自动更新远程仓库

This commit is contained in:
hanhh 2021-09-24 23:22:40 +08:00
parent 26d986d4a8
commit 687afce245

View File

@ -11,10 +11,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
reset_romote_url ${repo_path} "${url}"
git_pull_scripts ${repo_path}
else
if [ ! -d ${repo_path}/.git ]; then
rm -rf ${repo_path}
git_clone_scripts ${url} ${repo_path} "main"
fi