修改check命令,安装依赖使用代理

修改apk源地址
This commit is contained in:
whyour
2022-02-16 23:06:12 +08:00
parent 71b0c10997
commit 86df495b67
4 changed files with 6 additions and 14 deletions
+1 -9
View File
@@ -161,15 +161,7 @@ update_repo() {
echo -e "\n更新${repo_path}成功...\n"
diff_scripts "$repo_path" "$author" "$path" "$blackword" "$dependence"
else
echo -e "\n更新${repo_path}失败,重新下载全新仓库...\n"
rm -rf ${repo_path}
git_clone_scripts "${formatUrl}" ${repo_path} "${branch}"
if [[ $exit_status -eq 0 ]]; then
echo -e "\n更新${repo_path}成功...\n"
diff_scripts "$repo_path" "$author" "$path" "$blackword" "$dependence"
else
echo -e "\n更新${repo_path}失败,请检查网络...\n"
fi
echo -e "\n更新${repo_path}失败,请检查网络...\n"
fi
}