summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-09 22:57:33 +0000
committerPer Øyvind Karlsen <peroyvind@mandriva.org>2008-07-09 22:57:33 +0000
commit59a4cc4eb04a5519e15dde8a6f47ad4a34157599 (patch)
tree3755fa5f27081bb0fc0ad6ee21ec5ea4e577456d
parentb6cdf9b6b4f43b7a0b12f8d11485809cdf1a2c7a (diff)
downloadurpmi-59a4cc4eb04a5519e15dde8a6f47ad4a34157599.tar
urpmi-59a4cc4eb04a5519e15dde8a6f47ad4a34157599.tar.gz
urpmi-59a4cc4eb04a5519e15dde8a6f47ad4a34157599.tar.bz2
urpmi-59a4cc4eb04a5519e15dde8a6f47ad4a34157599.tar.xz
urpmi-59a4cc4eb04a5519e15dde8a6f47ad4a34157599.zip
add --metalink option to urpmi.addmedia & urpmi.updatemedia as well
-rw-r--r--urpm/args.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index c3e23e73..c2a8c575 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -330,6 +330,7 @@ my %options_spec = (
}
push @::cmdline, $p;
},
+ metalink => sub { $urpm->{options}{metalink} = 1 },
},
'urpmi.addmedia' => {
@@ -343,6 +344,7 @@ my %options_spec = (
virtual => \$options{virtual},
nopubkey => \$options{nopubkey},
raw => \$options{raw},
+ metalink => sub { $urpm->{options}{metalink} = 1 },
},
'urpmi.recover' => {