Update inner macro

This commit is contained in:
Aoran Zeng
2024-09-29 11:50:11 +08:00
parent ffaee0b0c3
commit 2a52c898d6
64 changed files with 98 additions and 98 deletions

View File

@@ -54,7 +54,7 @@ os_armbian_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}

View File

@@ -64,7 +64,7 @@ os_debian_setsrc_for_deb822 (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
@@ -103,7 +103,7 @@ os_debian_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
def_target(os_debian);

View File

@@ -52,7 +52,7 @@ os_kali_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeUntested);
chsrc_conclude (&source, SetsrcType_Untested);
}
def_target(os_kali);

View File

@@ -39,7 +39,7 @@ os_linuxlite_setsrc (char *option)
char *cmd = xy_strjoin (3, "sed -E -i 's@https?://.*/.*/?@", source.url, "@g' " OS_Apt_SourceList);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
def_target(os_linuxlite);

View File

@@ -44,7 +44,7 @@ os_linuxmint_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
chsrc_warn2 ("完成后请不要再使用 mintsources自带的图形化软件源设置工具进行任何操作因为在操作后无论是否有按“确定”mintsources 均会覆写我们刚才换源的内容");
}

View File

@@ -46,7 +46,7 @@ os_ros_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeUntested);
chsrc_conclude (&source, SetsrcType_Untested);
}
def_target_s(os_ros);

View File

@@ -44,7 +44,7 @@ os_raspberrypi_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeUntested);
chsrc_conclude (&source, SetsrcType_Untested);
}
def_target(os_raspberrypi);

View File

@@ -45,7 +45,7 @@ os_trisquel_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeUntested);
chsrc_conclude (&source, SetsrcType_Untested);
}
def_target(os_trisquel);

View File

@@ -71,7 +71,7 @@ os_ubuntu_setsrc_for_deb822 (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
/**
@@ -112,7 +112,7 @@ os_ubuntu_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeAuto);
chsrc_conclude (&source, SetsrcType_Auto);
}
def_target(os_ubuntu);

View File

@@ -51,7 +51,7 @@ os_deepin_setsrc (char *option)
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeUntested);
chsrc_conclude (&source, SetsrcType_Untested);
}
def_target(os_deepin);

View File

@@ -39,7 +39,7 @@ os_openkylin_setsrc (char *option)
char *cmd = xy_strjoin (3, "sed -E -i 's@https?://.*/openkylin/?@", source.url, "@g'" OS_Apt_SourceList);
chsrc_run (cmd, RunOpt_Default);
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
chsrc_conclude (&source, ChsrcTypeUntested);
chsrc_conclude (&source, SetsrcType_Untested);
}
def_target(os_openkylin);