Rename struct

This commit is contained in:
Aoran Zeng
2024-11-22 07:02:21 +08:00
parent b8f847a9ce
commit 743380290e
68 changed files with 109 additions and 109 deletions

View File

@@ -12,7 +12,7 @@
/**
* @update 2024-11-21
*/
static SourceInfo
static Source_t
os_armbian_sources[] = {
{&UpstreamProvider, "http://apt.armbian.com"},
{&MirrorZ, "https://mirrors.cernet.edu.cn/armbian"},

View File

@@ -12,7 +12,7 @@
/**
* @update 2024-11-21
*/
static SourceInfo
static Source_t
os_debian_sources[] = {
{&UpstreamProvider, "http://deb.debian.org/debian"},
{&MirrorZ, "https://mirrors.cernet.edu.cn/debian/"},

View File

@@ -12,7 +12,7 @@
/**
* @update 2024-11-21
*/
static SourceInfo
static Source_t
os_kali_sources[] = {
{&UpstreamProvider, "http://http.kali.org/kali"},
{&MirrorZ, "https://mirrors.cernet.edu.cn/kali"},

View File

@@ -11,7 +11,7 @@
/**
* @update 2024-11-21
*/
static SourceInfo
static Source_t
os_linuxlite_sources[] = {
{&UpstreamProvider, "http://repo.linuxliteos.com/linuxlite/"},
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxliteos/"},

View File

@@ -11,7 +11,7 @@
* @update 2024-11-21 更新
* @note 实际上镜像站里的内容和Ubuntu的不太一样
*/
static SourceInfo
static Source_t
os_linuxmint_sources[] = {
{&UpstreamProvider, NULL},
{&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2024-04-18
*/
static SourceInfo
static Source_t
os_ros_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com"},

View File

@@ -12,7 +12,7 @@
/**
* @time 2023-09-29 更新
*/
static SourceInfo
static Source_t
os_raspberrypi_sources[] = {
{&UpstreamProvider, "https://archive.raspberrypi.com/"}, // https://archive.raspberrypi.org/ until Debian "bullseye" release
{&MirrorZ, "https://mirrors.cernet.edu.cn/raspberrypi/"},

View File

@@ -12,7 +12,7 @@
/**
* @time 2024-11-21 更新
*/
static SourceInfo
static Source_t
os_trisquel_sources[] = {
{&UpstreamProvider, NULL},
{&MirrorZ, "https://mirrors.cernet.edu.cn/trisquel/"},

View File

@@ -12,7 +12,7 @@
/**
* @update 2024-11-21
*/
static SourceInfo
static Source_t
os_ubuntu_sources[] = {
{&UpstreamProvider, "http://archive.ubuntu.com/ubuntu/"}, //不支持https
{&MirrorZ, "https://mirrors.cernet.edu.cn/ubuntu/"},

View File

@@ -12,7 +12,7 @@
/**
* @update 2024-09-14
*/
static SourceInfo
static Source_t
os_deepin_sources[] = {
{&UpstreamProvider, "https://community-packages.deepin.com/deepin"},
{&Ali, "https://mirrors.aliyun.com/deepin"},

View File

@@ -13,7 +13,7 @@
/**
* @time 2023-09-29 更新
*/
static SourceInfo
static Source_t
os_openkylin_sources[] = {
{&UpstreamProvider, "https://archive.openkylin.top/openkylin/"},
{&Ali, "https://mirrors.aliyun.com/openkylin/"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2024-09-14
*/
static SourceInfo
static Source_t
os_alpine_sources[] = {
{&UpstreamProvider, "http://dl-cdn.alpinelinux.org/alpine"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/alpine"},

View File

@@ -16,7 +16,7 @@
* [2023-09-27] 请务必保持Nju前面有至少一个镜像原因请查看 freebsd 的换源函数
* }
*/
static SourceInfo
static Source_t
os_freebsd_sources[] = {
{&UpstreamProvider, NULL},
{&Ustc, "mirrors.ustc.edu.cn"},
@@ -41,7 +41,7 @@ os_freebsd_setsrc (char *option)
int index = use_specific_mirror_or_auto_select (option, os_freebsd);
SourceInfo source = os_freebsd_sources[index];
Source_t source = os_freebsd_sources[index];
chsrc_confirm_source;
chsrc_log2 ("1. 添加 freebsd-pkg 源 (二进制安装包)");

View File

@@ -11,7 +11,7 @@
/**
* @update 2024-09-14
*/
static SourceInfo
static Source_t
os_netbsd_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/pkgsrc/packages/NetBSD/"},

View File

@@ -11,7 +11,7 @@
/**
* @update 2024-09-14
*/
static SourceInfo
static Source_t
os_openbsd_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/OpenBSD/"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2024-09-14
*/
static SourceInfo
static Source_t
os_gentoo_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "mirrors.aliyun.com"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2024-08-08
*/
static SourceInfo
static Source_t
os_openwrt_sources[] = {
{&UpstreamProvider, "http://downloads.openwrt.org"},
{&MirrorZ, "https://mirrors.cernet.edu.cn/openwrt"},

View File

@@ -10,7 +10,7 @@
/**
* @time 2023-09-29 更新
*/
static SourceInfo
static Source_t
os_solus_sources[] = {
{&UpstreamProvider, NULL},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/solus/packages/shannon/eopkg-index.xml.xz"},

View File

@@ -10,7 +10,7 @@
/**
* @time 2023-09-24 更新
*/
static SourceInfo
static Source_t
os_void_sources[] = {
{&UpstreamProvider, "https://repo-default.voidlinux.org"},
{&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/voidlinux"},

View File

@@ -10,7 +10,7 @@
/**
* @time 2024-06-12 更新
*/
static SourceInfo
static Source_t
os_almalinux_sources[] = {
{&UpstreamProvider, "http://repo.almalinux.org/almalinux"},
{&Ali, "https://mirrors.aliyun.com/almalinux"},

View File

@@ -12,7 +12,7 @@
/**
* @time 2024-06-12 更新
*/
static SourceInfo
static Source_t
os_anolis_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/anolis"},

View File

@@ -14,7 +14,7 @@
/**
* @update 2024-11-04
*/
static SourceInfo
static Source_t
os_fedora_sources[] = {
{&UpstreamProvider, "http://download.example/pub/fedora/linux"},
{&Ali, "https://mirrors.aliyun.com/fedora"},

View File

@@ -10,7 +10,7 @@
/**
* @time 2024-06-12 更新
*/
static SourceInfo
static Source_t
os_rockylinux_sources[] = {
{&UpstreamProvider, NULL},
{&MirrorZ, "https://mirrors.cernet.edu.cn/rocky"},

View File

@@ -11,7 +11,7 @@
/**
* @update 2024-09-14
*/
static SourceInfo
static Source_t
os_openeuler_sources[] = {
{&UpstreamProvider, "https://repo.openeuler.org/"},
{&Ali, "https://mirrors.aliyun.com/openeuler/"},

View File

@@ -10,7 +10,7 @@
/**
* @update 2024-08-16
*/
static SourceInfo
static Source_t
os_opensuse_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/opensuse"},

View File

@@ -12,7 +12,7 @@
* @update 2024-07-03
* @note 不要给后面加 / 因为ARM情况下还要额外加一个 arm 后缀
*/
static SourceInfo
static Source_t
os_arch_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/archlinux"},

View File

@@ -10,7 +10,7 @@
/**
* @time 2024-04-18 更新
*/
static SourceInfo
static Source_t
os_msys2_sources[] = {
{&UpstreamProvider, NULL},
{&Ali, "https://mirrors.aliyun.com/msys2"},