mirror of
https://github.com/RubyMetric/chsrc
synced 2025-12-27 04:59:29 +08:00
Use chsrc_determine_chgtype()
This commit is contained in:
@@ -34,7 +34,7 @@ os_linuxlite_getsrc (char *option)
|
||||
}
|
||||
|
||||
/**
|
||||
* 参考: https://help.mirrors.cernet.edu.cn/linuxliteos/
|
||||
* @consult https://help.mirrors.cernet.edu.cn/linuxliteos/
|
||||
*/
|
||||
void
|
||||
os_linuxlite_setsrc (char *option)
|
||||
@@ -49,7 +49,7 @@ os_linuxlite_setsrc (char *option)
|
||||
|
||||
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
|
||||
|
||||
ProgMode_ChgType = ChgType_Auto;
|
||||
chsrc_determine_chgtype (ChgType_Auto);
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user