summaryrefslogtreecommitdiffstats
path: root/urpmi.update
diff options
context:
space:
mode:
Diffstat (limited to 'urpmi.update')
-rwxr-xr-xurpmi.update2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpmi.update b/urpmi.update
index 51c7b85e..5fb32981 100755
--- a/urpmi.update
+++ b/urpmi.update
@@ -77,6 +77,8 @@ where <name> is a medium name to update.
}
$urpm->read_config;
+ exists $options{limit_rate} or $options{limit_rate} = $urpm->{options}{'limit-rate'};
+
my @entries = map { $_->{name} } @{$urpm->{media}};
if ($options{all}) {