Fix prefix in section

This commit is contained in:
Aoran Zeng
2025-07-14 04:05:09 +08:00
parent 685ae27d23
commit 572851f576
3 changed files with 35 additions and 14 deletions

View File

@@ -47,7 +47,7 @@ wr_anaconda_setsrc (char *option)
{
chsrc_yield_source_and_confirm (wr_anaconda);
char *w = xy_str_gsub (_rawstr4c_condarc, "@1@", source.url);
char *w = xy_str_gsub (RAWSTR_wr_anaconda_condarc, "@1@", source.url);
/* Windows 也是在这里 */
char *configfile = xy_2strjoin (xy_os_home, "/.condarc");