mirror of
https://github.com/RubyMetric/chsrc
synced 2025-10-11 07:03:34 +08:00
@@ -64,6 +64,8 @@ pl_ruby_setsrc (char *option)
|
||||
{
|
||||
chsrc_ensure_program ("gem");
|
||||
|
||||
chsrc_set_measure_upstream ("https://rubygems.org/gems/nokogiri-1.15.0-java.gem");
|
||||
|
||||
chsrc_yield_source_and_confirm (pl_ruby);
|
||||
|
||||
char *cmd = NULL;
|
||||
|
@@ -89,9 +89,7 @@ os_ubuntu_setsrc (char *option)
|
||||
chsrc_ensure_root ();
|
||||
|
||||
// https://github.com/RubyMetric/chsrc/issues/121
|
||||
SpeedMeasureInfo_t *upsmi = &UpstreamProvider.smi;
|
||||
upsmi->skip = NotSkip;
|
||||
upsmi->url = "http://archive.ubuntu.com/ubuntu/dists/noble/Contents-amd64.gz";
|
||||
chsrc_set_measure_upstream ("http://archive.ubuntu.com/ubuntu/dists/noble/Contents-amd64.gz");
|
||||
|
||||
if (chsrc_check_file (OS_Ubuntu_SourceList_DEB822))
|
||||
{
|
||||
|
Reference in New Issue
Block a user