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 */
3536void
3637os_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