Update wgd.sh

This commit is contained in:
Donald Zou 2024-12-06 22:01:57 +08:00
parent d780bb3937
commit 908be168a9

View File

@ -245,13 +245,13 @@ _checkPythonVersion(){
}
_determinePypiMirror(){
printf "[WGDashboard] Pinging list of recommended Python Package Index mirror"
printf "[WGDashboard] Pinging list of recommended Python Package Index mirror\n"
urls=(
"https://pypi.org"
"https://pypi.tuna.tsinghua.edu.cn/simple/"
"https://pypi.mirrors.ustc.edu.cn/simple/"
"https://mirrors.aliyun.com/pypi/simple/"
"https://pypi.douban.com/simple/"
"https://pypi.org"
)
# Function to extract hostname and ping it