mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-20 18:05:08 +08:00
Adjust chsrc_conclude()
This commit is contained in:
@@ -75,7 +75,9 @@ os_ubuntu_setsrc_for_deb822 (char *option)
|
||||
|
||||
chsrc_run (cmd, RunOpt_Default);
|
||||
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
|
||||
chsrc_conclude (&source, SetsrcType_Auto);
|
||||
|
||||
ProgMode_ChgType = ChgType_Auto;
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -118,7 +120,9 @@ os_ubuntu_setsrc (char *option)
|
||||
|
||||
chsrc_run (cmd, RunOpt_Default);
|
||||
chsrc_run ("apt update", RunOpt_No_Last_New_Line);
|
||||
chsrc_conclude (&source, SetsrcType_Auto);
|
||||
|
||||
ProgMode_ChgType = ChgType_Auto;
|
||||
chsrc_conclude (&source);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user