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:
@@ -74,7 +74,7 @@ os_debian_setsrc_for_deb822 (char *option)
|
||||
|
||||
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
|
||||
|
||||
ProgMode_ChgType = ChgType_Auto;
|
||||
chsrc_determine_chgtype (ChgType_Auto);
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
@@ -115,7 +115,7 @@ os_debian_setsrc (char *option)
|
||||
chsrc_run (cmd, RunOpt_Default);
|
||||
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
|
||||
|
||||
ProgMode_ChgType = ProgMode_CMD_Reset ? ChgType_Reset : ChgType_Auto;
|
||||
chsrc_determine_chgtype (ChgType_Auto);
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user