修改仓库拉取状态判断逻辑

This commit is contained in:
whyour
2023-04-24 15:37:58 +08:00
parent 9a3e38051d
commit d6cfb18f06
2 changed files with 10 additions and 4 deletions
-2
View File
@@ -254,7 +254,6 @@ update_qinglong() {
if [[ $exit_status -eq 0 ]]; then
echo -e "\n更新青龙源文件成功...\n"
reset_romote_url ${dir_root} "https://${mirror}.com/whyour/qinglong.git" ${primary_branch}
cp -f $file_config_sample $dir_config/config.sample.sh
update_depend
@@ -280,7 +279,6 @@ update_qinglong_static() {
fi
if [[ $exit_status -eq 0 ]]; then
echo -e "\n更新青龙静态资源成功...\n"
reset_romote_url ${ql_static_repo} ${url} ${primary_branch}
rm -rf $dir_static/*
cp -rf $ql_static_repo/* $dir_static