mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-22 22:36:06 +08:00
ql bot移除自动更新远程仓库
This commit is contained in:
parent
26d986d4a8
commit
687afce245
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user