summaryrefslogtreecommitdiffstats
path: root/urpm
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2008-07-08 12:05:17 +0000
committerPascal Rigaux <pixel@mandriva.com>2008-07-08 12:05:17 +0000
commit7b5f3db375fe4347bc30b134c90dde8d5813dabe (patch)
tree6be7a36507a7ec0cd79d6f0ddc4d980a8ab03a23 /urpm
parentdbc1dddbef3a640401e128761ae1154ebf7b6365 (diff)
downloadurpmi-7b5f3db375fe4347bc30b134c90dde8d5813dabe.tar
urpmi-7b5f3db375fe4347bc30b134c90dde8d5813dabe.tar.gz
urpmi-7b5f3db375fe4347bc30b134c90dde8d5813dabe.tar.bz2
urpmi-7b5f3db375fe4347bc30b134c90dde8d5813dabe.tar.xz
urpmi-7b5f3db375fe4347bc30b134c90dde8d5813dabe.zip
allow "urpmi.addmedia --distrib --mirrorlist" to please blino (#40283)
Diffstat (limited to 'urpm')
-rw-r--r--urpm/args.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index dc3db479..d2493fcb 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -333,7 +333,7 @@ my %options_spec = (
'xml-info=s' => \$options{'xml-info'},
'no-probe' => sub { $options{probe_with} = undef },
distrib => sub { $options{distrib} = 1 },
- 'mirrorlist=s' => \$options{mirrorlist},
+ 'mirrorlist:s' => sub { $options{mirrorlist} = $_[1] || '$MIRRORLIST' },
interactive => sub { $options{interactive} = 1 },
'all-media' => sub { $options{allmedia} = 1 },
'from=s' => \$options{mirrors_url},