mirror of
https://github.com/whyour/qinglong.git
synced 2025-05-23 14:56:07 +08:00
修复ql update
This commit is contained in:
parent
cac0f21a99
commit
391be1987e
|
@ -245,12 +245,8 @@ update_qinglong() {
|
|||
fi
|
||||
|
||||
local url="https://gitee.com/whyour/qinglong-static.git"
|
||||
if [ -d ${ql_static_repo}/.git ]; then
|
||||
reset_romote_url ${ql_static_repo} ${url}
|
||||
git_pull_scripts ${ql_static_repo}
|
||||
else
|
||||
rm -rf ${ql_static_repo}
|
||||
git_clone_scripts ${url} ${ql_static_repo}
|
||||
fi
|
||||
if [[ $exit_status -eq 0 ]]; then
|
||||
echo -e "\n更新$ql_static_repo成功...\n"
|
||||
cp -rf $ql_static_repo/* $dir_root
|
||||
|
|
Loading…
Reference in New Issue
Block a user