mirror of
https://github.com/whyour/qinglong.git
synced 2026-07-01 04:40:38 +08:00
修改日志名称格式
This commit is contained in:
+1
-1
@@ -231,7 +231,7 @@ usage() {
|
||||
update_qinglong() {
|
||||
local mirror="github"
|
||||
local githubStatus=$(curl -s -m 2 -IL "https://github.com" | grep 200)
|
||||
if [ "$githubStatus" == "" ]; then
|
||||
if [[ ! -z $githubStatus ]]; then
|
||||
mirror="gitee"
|
||||
fi
|
||||
echo -e "使用 ${mirror} 源更新...\n"
|
||||
|
||||
Reference in New Issue
Block a user