mirror of
https://github.com/whyour/qinglong.git
synced 2025-11-08 23:16:08 +08:00
修复静态资源拉取
This commit is contained in:
parent
a2bceee4f4
commit
cfbbea4c8e
|
|
@ -263,9 +263,11 @@ update_qinglong() {
|
||||||
local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git"
|
local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git"
|
||||||
if [ -d ${ql_static_repo}/.git ]; then
|
if [ -d ${ql_static_repo}/.git ]; then
|
||||||
reset_romote_url ${ql_static_repo} ${url}
|
reset_romote_url ${ql_static_repo} ${url}
|
||||||
|
cd ${ql_static_repo}
|
||||||
git fetch --all
|
git fetch --all
|
||||||
exit_status=$?
|
exit_status=$?
|
||||||
git reset --hard origin/master
|
git reset --hard origin/master
|
||||||
|
cd $dir_root
|
||||||
else
|
else
|
||||||
git_clone_scripts ${url} ${ql_static_repo}
|
git_clone_scripts ${url} ${ql_static_repo}
|
||||||
fi
|
fi
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user