ql bot添加重置remote地址

This commit is contained in:
hanhh
2021-06-21 22:41:19 +08:00
parent 173b87a7b1
commit c9fecae67a
3 changed files with 18 additions and 17 deletions
+1
View File
@@ -12,6 +12,7 @@ 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
rm -rf ${repo_path}