> Try "grep limit_rate /usr/lib/perl5/vendor_perl/5.8.0/urpm.pm"
> Bandwith limit is almost here, it would be quite esay to add one or
> two more lines of code in urpm.pm to handle a "limit_rate: xxx"
> option in urpmi.cfg

damned, it's already here, but there's a typo, line 430 :
elsif (($k, $v) =
/^(limit-rate|excludepath|key_ids|split-(?:level|length))\s*:\s*(.*)$/)
{                   unless (exists($urpm->{options}{$k})) {
                        $v =~ /^'([^']*)'$/ and $v = $1; $v =~ /^"([^"]*)"$/ and $v =
$1;                     $urpm->{options}{$k} = $v;
                    }

"limit-rate" should be "limit_rate" ...
Otherwise it won't work :)

-- 
Olivier Blin

Reply via email to