diff --git a/shell/update.sh b/shell/update.sh index 6e105948..86c85d33 100755 --- a/shell/update.sh +++ b/shell/update.sh @@ -263,9 +263,11 @@ update_qinglong() { local url="https://ghproxy.com/https://github.com/whyour/qinglong-static.git" if [ -d ${ql_static_repo}/.git ]; then reset_romote_url ${ql_static_repo} ${url} + cd ${ql_static_repo} git fetch --all exit_status=$? git reset --hard origin/master + cd $dir_root else git_clone_scripts ${url} ${ql_static_repo} fi