diff --git a/bucket/msys2-cn.json b/bucket/msys2-cn.json index 572853fd8b3..89c8b169a90 100644 --- a/bucket/msys2-cn.json +++ b/bucket/msys2-cn.json @@ -5,7 +5,7 @@ "license": "GPL-2.0-only|BSD-3-Clause", "architecture": { "64bit": { - "url": "https://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64/msys2-base-x86_64-20241208.tar.xz", + "url": "https://mirrors.aliyun.com/msys2/distrib/x86_64/msys2-base-x86_64-20241208.tar.xz", "hash": "dfaed9ee4e1a28c24ed06edbb0767846a1022eb3ec849d70b2b999129e472135", "extract_dir": "msys64" } @@ -25,8 +25,8 @@ " # Ensure pacman mirrors have been updated", " $pacmanConf = \"$dir\\etc\\pacman.conf\"", " # Edit pacman.conf directly since pacman-mirrors sucks: https://github.com/msys2/MSYS2-packages/issues/1907#issuecomment-716615697", - " (Get-Content $pacmanConf) -replace 'Include = /etc/pacman.d/mirrorlist.mingw', 'Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/mingw/$repo/' | Set-Content $pacmanConf", - " (Get-Content $pacmanConf) -replace 'Include = /etc/pacman.d/mirrorlist.msys', 'Server = https://mirrors.tuna.tsinghua.edu.cn/msys2/msys/$arch/' | Set-Content $pacmanConf", + " (Get-Content $pacmanConf) -replace 'Include = /etc/pacman.d/mirrorlist.mingw', 'Server = https://mirrors.aliyun.com/msys2/mingw/$repo/' | Set-Content $pacmanConf", + " (Get-Content $pacmanConf) -replace 'Include = /etc/pacman.d/mirrorlist.msys', 'Server = https://mirrors.aliyun.com/msys2/msys/$arch/' | Set-Content $pacmanConf", " $logPath = \"$dir\\update.log\"", " $stopSentence = 'there is nothing to do'", " $cntSentence = 2", @@ -120,14 +120,14 @@ ], "persist": "home", "checkver": { - "url": "https://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64/", + "url": "https://mirrors.aliyun.com/msys2/distrib/x86_64/", "re": "msys2-base-x86_64-(\\d+).tar.xz", "reverse": true }, "autoupdate": { "architecture": { "64bit": { - "url": "https://mirrors.tuna.tsinghua.edu.cn/msys2/distrib/x86_64/msys2-base-x86_64-$version.tar.xz" + "url": "https://mirrors.aliyun.com/msys2/distrib/x86_64/msys2-base-x86_64-$version.tar.xz" } } }