mirror of
https://github.com/RubyMetric/chsrc
synced 2026-03-05 05:30:41 +08:00
Format code
This commit is contained in:
@@ -10,14 +10,14 @@
|
||||
/**
|
||||
* @time 2024-06-12 更新
|
||||
*/
|
||||
static Source_t
|
||||
os_almalinux_sources[] = {
|
||||
{&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"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/almalinux"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/almalinux"},
|
||||
static Source_t os_almalinux_sources[] =
|
||||
{
|
||||
{&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"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/almalinux"},
|
||||
{&Nju, "https://mirror.nju.edu.cn/almalinux"},
|
||||
};
|
||||
def_sources_n(os_almalinux);
|
||||
|
||||
|
||||
@@ -10,13 +10,13 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2024-06-12 更新
|
||||
* @update 2024-06-12
|
||||
*/
|
||||
static Source_t
|
||||
os_anolis_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/anolis"},
|
||||
{&Hust, "https://mirrors.hust.edu.cn/anolis"}
|
||||
static Source_t os_anolis_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&Ali, "https://mirrors.aliyun.com/anolis"},
|
||||
{&Hust, "https://mirrors.hust.edu.cn/anolis"}
|
||||
};
|
||||
def_sources_n(os_anolis);
|
||||
|
||||
|
||||
@@ -14,17 +14,17 @@
|
||||
/**
|
||||
* @update 2024-11-04
|
||||
*/
|
||||
static Source_t
|
||||
os_fedora_sources[] = {
|
||||
{&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"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/fedora"},
|
||||
{&Tencent, "https://mirrors.tencent.com/fedora"},
|
||||
static Source_t os_fedora_sources[] =
|
||||
{
|
||||
{&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"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/fedora"},
|
||||
{&Tencent, "https://mirrors.tencent.com/fedora"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/fedora"},
|
||||
{&Netease, "https://mirrors.163.com/fedora"},
|
||||
{&Sohu, "https://mirrors.sohu.com/fedora"}
|
||||
{&Netease, "https://mirrors.163.com/fedora"},
|
||||
{&Sohu, "https://mirrors.sohu.com/fedora"}
|
||||
};
|
||||
def_sources_n(os_fedora);
|
||||
|
||||
|
||||
@@ -8,20 +8,20 @@
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
/**
|
||||
* @time 2024-06-12 更新
|
||||
* @update 2024-06-12
|
||||
*/
|
||||
static Source_t
|
||||
os_rockylinux_sources[] = {
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/rocky"},
|
||||
{&Ali, "https://mirrors.aliyun.com/rockylinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/rockylinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rocky"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/rocky-linux"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/rocky"},
|
||||
{&Lzuoss, "https://mirror.lzu.edu.cn/rocky"},
|
||||
{&Sohu, "https://mirrors.sohu.com/Rocky"},
|
||||
{&Netease, "https://mirrors.163.com/rocky"}
|
||||
static Source_t os_rockylinux_sources[] =
|
||||
{
|
||||
{&UpstreamProvider, NULL},
|
||||
{&MirrorZ, "https://mirrors.cernet.edu.cn/rocky"},
|
||||
{&Ali, "https://mirrors.aliyun.com/rockylinux"},
|
||||
{&Volcengine, "https://mirrors.volces.com/rockylinux"},
|
||||
{&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/rocky"},
|
||||
{&Sustech, "https://mirrors.sustech.edu.cn/rocky-linux"},
|
||||
{&Zju, "https://mirrors.zju.edu.cn/rocky"},
|
||||
{&Lzuoss, "https://mirror.lzu.edu.cn/rocky"},
|
||||
{&Sohu, "https://mirrors.sohu.com/Rocky"},
|
||||
{&Netease, "https://mirrors.163.com/rocky"}
|
||||
};
|
||||
def_sources_n(os_rockylinux);
|
||||
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
* Last Modified : <2024-08-16>
|
||||
* ------------------------------------------------------------*/
|
||||
|
||||
// #define OS_Yum_SourceList "/etc/yum.repos"
|
||||
#define OS_Yum_SourceList_D "/etc/yum.repos.d/"
|
||||
// #define OS_Yum_SourceList "/etc/yum.repos"
|
||||
#define OS_Yum_SourceList_D "/etc/yum.repos.d/"
|
||||
|
||||
#define OS_openEuler_SourceList "openEuler.repo"
|
||||
#define OS_openEuler_SourceList "openEuler.repo"
|
||||
|
||||
@@ -11,17 +11,17 @@
|
||||
/**
|
||||
* @update 2024-09-14
|
||||
*/
|
||||
static Source_t
|
||||
os_openeuler_sources[] = {
|
||||
{&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/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/openeuler/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/openeuler/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/openeuler/"},
|
||||
{&Netease, "https://mirrors.163.com/openeuler/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/openeuler/"}
|
||||
static Source_t os_openeuler_sources[] =
|
||||
{
|
||||
{&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/"},
|
||||
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/openeuler/"},
|
||||
{&Tencent, "https://mirrors.tencent.com/openeuler/"},
|
||||
// {&Tencent_Intra, "https://mirrors.tencentyun.com/openeuler/"},
|
||||
{&Netease, "https://mirrors.163.com/openeuler/"},
|
||||
{&Sohu, "https://mirrors.sohu.com/openeuler/"}
|
||||
};
|
||||
def_sources_n(os_openeuler);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user