@@ -116,7 +116,7 @@ os_archlinuxcn_prelude ()
116116 chef_prep_this (os_archlinuxcn , gs );
117117
118118 chef_set_created_on (this , "2023-09-05" );
119- chef_set_last_updated (this , "2025-08-10 " );
119+ chef_set_last_updated (this , "2025-09-12 " );
120120 chef_set_sources_last_updated (this , "2024-07-03" );
121121
122122 chef_set_chef (this , NULL );
@@ -133,7 +133,7 @@ os_archlinuxcn_prelude ()
133133
134134
135135 def_sources_begin ()
136- {& UpstreamProvider , "https://repo.archlinuxcn.org/" , DelegateToUpstream },
136+ {& UpstreamProvider , "https://repo.archlinuxcn.org/" , DelegateToUpstream },
137137 {& Ali , "https://mirrors.aliyun.com/archlinuxcn/" , DelegateToMirror },
138138 {& Bfsu , "https://mirrors.bfsu.edu.cn/archlinuxcn/" , DelegateToMirror },
139139 {& Ustc , "https://mirrors.ustc.edu.cn/archlinuxcn/" , DelegateToMirror },
@@ -157,7 +157,6 @@ os_archlinuxcn_getsrc (char *option)
157157
158158/**
159159 * @consult https://mirrors.tuna.tsinghua.edu.cn/help/archlinuxcn/
160- * @update 2025-05-24
161160 */
162161void
163162os_archlinuxcn_setsrc (char * option )
@@ -172,7 +171,7 @@ os_archlinuxcn_setsrc (char *option)
172171
173172 /* 检查是否已存在 archlinuxcn 配置段 */
174173 char * check_cmd = "grep -q '\\[archlinuxcn\\]' " OS_Pacman_ArchLinuxCN_MirrorList ;
175- int ret = system (check_cmd );
174+ int ret = xy_run_get_status (check_cmd );
176175
177176 if (ret == 0 )
178177 {
0 commit comments