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