Skip to content

Commit baa0cfd

Browse files
committed
Adjust Fedora
[GitHub #96]
1 parent 2a83a2b commit baa0cfd

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

src/chsrc-main.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
* | Mr. Will <[email protected]>
1313
* | Terrasse <[email protected]>
1414
* | Lontten <[email protected]>
15-
* | happy game <[email protected]>
15+
* | happy game <[email protected]>
1616
* |
1717
* Created On : <2023-08-28>
18-
* Last Modified : <2024-10-04>
18+
* Last Modified : <2024-10-09>
1919
*
2020
* chsrc: Change Source —— 全平台通用命令行换源工具
2121
* ------------------------------------------------------------*/

src/recipe/os/YUM/Fedora-Linux.c

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@
33
* -------------------------------------------------------------
44
* File Authors : Heng Guo <[email protected]>
55
* Contributors : Aoran Zeng <[email protected]>
6+
* | happy game <[email protected]>
67
* Created On : <2023-09-26>
7-
* Last Modified : <2024-10-09> <[email protected]>
8+
* Last Modified : <2024-10-09>
89
*
910
* 名称为 Fedora Linux
1011
* ------------------------------------------------------------*/
@@ -29,8 +30,8 @@ def_sources_n(os_fedora);
2930

3031
/**
3132
* @note fedora 38 及以下版本暂不支持
32-
* 参考:
33-
* 1. https://mirrors.ustc.edu.cn/help/fedora.html
33+
*
34+
* @consult https://mirrors.ustc.edu.cn/help/fedora.html
3435
*/
3536
void
3637
os_fedora_setsrc (char *option)
@@ -54,10 +55,9 @@ os_fedora_setsrc (char *option)
5455

5556
chsrc_run (cmd, RunOpt_Default);
5657

57-
chsrc_log2 ("已替换文件 /etc/yum.repos.d/fedora.repo");
58-
chsrc_log2 ("已替换文件 /etc/yum.repos.d/fedora-updates.repo");
59-
60-
chsrc_note2 ("chsrc 已为您更换baseurl, 但fedora默认会优先使用metalink来匹配最快的源, 如您在获取metadata时速度较慢可自行将其注释");
58+
chsrc_note2 ("已为您更换baseurl, 但fedora默认会优先使用metalink来匹配最快的源, 如您在获取metadata时速度较慢可自行将其注释:");
59+
chsrc_log2 ("(1) /etc/yum.repos.d/fedora.repo");
60+
chsrc_log2 ("(2) /etc/yum.repos.d/fedora-updates.repo");
6161

6262
chsrc_run ("dnf makecache", RunOpt_No_Last_New_Line);
6363
chsrc_conclude (&source, SetsrcType_Auto);

0 commit comments

Comments
 (0)