mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-06 22:40:43 +08:00
Introduce provider
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
static SourceInfo
|
||||
os_almalinux_sources[] = {
|
||||
{&Upstream, "http://repo.almalinux.org/almalinux"},
|
||||
{&UpstreamProvider, "http://repo.almalinux.org/almalinux"},
|
||||
{&Ali, "https://mirrors.aliyun.com/almalinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/almalinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirrors.sjtug.sjtu.edu.cn/almalinux"},
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
*/
|
||||
static SourceInfo
|
||||
os_anolis_sources[] = {
|
||||
{&Upstream, NULL},
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/anolis"},
|
||||
{&Hust, "https://mirrors.hust.edu.cn/anolis"}
|
||||
};
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
*/
|
||||
static SourceInfo
|
||||
os_fedora_sources[] = {
|
||||
{&Upstream, "http://download.example/pub/fedora/linux"},
|
||||
{&UpstreamProvider, "http://download.example/pub/fedora/linux"},
|
||||
{&Ali, "https://mirrors.aliyun.com/fedora"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/fedora"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/fedora"},
|
||||
|
||||
@@ -12,7 +12,7 @@
|
||||
*/
|
||||
static SourceInfo
|
||||
os_rockylinux_sources[] = {
|
||||
{&Upstream, NULL},
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/rocky"},
|
||||
{&Ali, "https://mirrors.aliyun.com/rockylinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/rockylinux"},
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
*/
|
||||
static SourceInfo
|
||||
os_openeuler_sources[] = {
|
||||
{&Upstream, "https://repo.openeuler.org/"},
|
||||
{&UpstreamProvider, "https://repo.openeuler.org/"},
|
||||
{&Ali, "https://mirrors.aliyun.com/openeuler/"},
|
||||
{&Bfsu, "https://mirrors.bfsu.edu.cn/openeuler/"},
|
||||
{&Ustc, "https://mirrors.ustc.edu.cn/openeuler/"},
|
||||
|
||||
Reference in New Issue
Block a user