summaryrefslogtreecommitdiffstats
path: root/urpmi.addmedia
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2003-01-29 11:09:33 +0000
committerFrancois Pons <fpons@mandriva.com>2003-01-29 11:09:33 +0000
commitd17f1ece1de5c7898e2f33ca7aa53d4a4a4a32d8 (patch)
tree455ce664e12471e57f26a38f28c557bd3ce014f9 /urpmi.addmedia
parent992d5c9fec4142342f4ac7a2f2696085edbc6436 (diff)
downloadurpmi-d17f1ece1de5c7898e2f33ca7aa53d4a4a4a32d8.tar
urpmi-d17f1ece1de5c7898e2f33ca7aa53d4a4a4a32d8.tar.gz
urpmi-d17f1ece1de5c7898e2f33ca7aa53d4a4a4a32d8.tar.bz2
urpmi-d17f1ece1de5c7898e2f33ca7aa53d4a4a4a32d8.tar.xz
urpmi-d17f1ece1de5c7898e2f33ca7aa53d4a4a4a32d8.zip
4.2-16mdk
Diffstat (limited to 'urpmi.addmedia')
-rwxr-xr-xurpmi.addmedia1
1 files changed, 1 insertions, 0 deletions
diff --git a/urpmi.addmedia b/urpmi.addmedia
index eab379d7..6451e6ff 100755
--- a/urpmi.addmedia
+++ b/urpmi.addmedia
@@ -118,6 +118,7 @@ and [options] are from
my ($type) = $url =~ m,^([^:]*)://, or $options{distrib} or die $usage;
$urpm->read_config;
+ exists $options{limit_rate} or $options{limit_rate} = $urpm->{options}{'limit-rate'};
if (exists $options{distrib}) {
if (defined $options{distrib}) {