|
5 | 5 | * Contributors : Happy Game <[email protected]> |
6 | 6 | * | |
7 | 7 | * Created On : <2023-09-29> |
8 | | - * Last Modified : <2025-01-07> |
| 8 | + * Last Modified : <2025-07-21> |
9 | 9 | * ------------------------------------------------------------*/ |
10 | 10 |
|
11 | 11 | /** |
|
14 | 14 | */ |
15 | 15 | static Source_t os_linuxmint_sources[] = |
16 | 16 | { |
17 | | - {&UpstreamProvider, NULL}, |
18 | | - {&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/"}, |
19 | | - {&Ali, "http://mirrors.aliyun.com/linuxmint-packages/"}, |
20 | | - {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/linuxmint/"}, |
21 | | - {&Bfsu, "https://mirrors.bfsu.edu.cn/linuxmint/"}, |
22 | | - {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/linuxmint/"}, |
23 | | - {&Jlu, "https://mirrors.jlu.edu.cn/linuxmint/"}, |
24 | | - {&Ustc, "https://mirrors.ustc.edu.cn/linuxmint/"}, |
25 | | - {&Bjtu, "https://mirror.bjtu.edu.cn/linuxmint/"}, |
26 | | - {&Zju, "https://mirrors.zju.edu.cn/linuxmint/"}, |
27 | | - {&Sustech, "https://mirrors.sustech.edu.cn/linuxmint/"}, |
28 | | - {&Iscas, "https://mirror.iscas.ac.cn/linuxmint/"}, |
29 | | - {&Scau, "https://mirrors.scau.edu.cn/linuxmint/"}, |
30 | | - // {&Netease, "https://mirrors.163.com/linuxmint/packages/"} /* 不启用原因:过慢 */ |
| 17 | + {&UpstreamProvider, NULL, NULL}, |
| 18 | + {&MirrorZ, "https://mirrors.cernet.edu.cn/linuxmint/", DelegateToMirror}, |
| 19 | + {&Ali, "http://mirrors.aliyun.com/linuxmint-packages/", DelegateToMirror}, |
| 20 | + {&Tuna, "https://mirrors.tuna.tsinghua.edu.cn/linuxmint/", DelegateToMirror}, |
| 21 | + {&Bfsu, "https://mirrors.bfsu.edu.cn/linuxmint/", DelegateToMirror}, |
| 22 | + {&Sjtug_Zhiyuan, "https://mirror.sjtu.edu.cn/linuxmint/", DelegateToMirror}, |
| 23 | + {&Jlu, "https://mirrors.jlu.edu.cn/linuxmint/", DelegateToMirror}, |
| 24 | + {&Ustc, "https://mirrors.ustc.edu.cn/linuxmint/", DelegateToMirror}, |
| 25 | + {&Bjtu, "https://mirror.bjtu.edu.cn/linuxmint/", DelegateToMirror}, |
| 26 | + {&Zju, "https://mirrors.zju.edu.cn/linuxmint/", DelegateToMirror}, |
| 27 | + {&Sustech, "https://mirrors.sustech.edu.cn/linuxmint/", DelegateToMirror}, |
| 28 | + {&Iscas, "https://mirror.iscas.ac.cn/linuxmint/", DelegateToMirror}, |
| 29 | + {&Scau, "https://mirrors.scau.edu.cn/linuxmint/", DelegateToMirror}, |
| 30 | + /* 不启用原因:过慢 */ |
| 31 | + // {&Netease, "https://mirrors.163.com/linuxmint/packages/", DelegateToMirror} |
31 | 32 | }; |
32 | 33 | def_sources_n(os_linuxmint); |
33 | 34 |
|
@@ -67,4 +68,24 @@ os_linuxmint_setsrc (char *option) |
67 | 68 | chsrc_warn2 ("已自动更换mint主要源, 但mint也使用基于debian或ubuntu的基础源, 可参考对应的debian或ubuntu换源方法进行手动换源"); |
68 | 69 | } |
69 | 70 |
|
70 | | -def_target(os_linuxmint); |
| 71 | + |
| 72 | + |
| 73 | +Feature_t |
| 74 | +os_linuxmint_feat (char *option) |
| 75 | +{ |
| 76 | + Feature_t f = {0}; |
| 77 | + |
| 78 | + f.can_get = true; |
| 79 | + f.can_reset = false; |
| 80 | + |
| 81 | + f.cap_locally = CanNot; |
| 82 | + f.cap_locally_explain = NULL; |
| 83 | + |
| 84 | + f.can_english = true; |
| 85 | + f.can_user_define = true; |
| 86 | + |
| 87 | + f.note = NULL; |
| 88 | + return f; |
| 89 | +} |
| 90 | + |
| 91 | +def_target_gsf(os_linuxmint); |
0 commit comments