summaryrefslogtreecommitdiffstats
path: root/urpm/args.pm
diff options
context:
space:
mode:
Diffstat (limited to 'urpm/args.pm')
-rw-r--r--urpm/args.pm8
1 files changed, 6 insertions, 2 deletions
diff --git a/urpm/args.pm b/urpm/args.pm
index 8e544659..12d4fee3 100644
--- a/urpm/args.pm
+++ b/urpm/args.pm
@@ -186,7 +186,6 @@ my %options_spec = (
'expect-install!' => \$::urpm::main_loop::expect_install,
'nolock' => \$options{nolock},
restricted => \$::restricted,
- 'no-md5sum' => \$::nomd5sum,
'force-key' => \$::forcekey,
a => \$::all,
p => sub { $::use_provides = 1 },
@@ -450,11 +449,16 @@ foreach my $k ("wget", "curl", "prozilla", "aria2", 'downloader=s', "proxy=s", "
$options_spec{urpmq}{$k} = $options_spec{urpmi}{$k};
}
-foreach my $k ("f", "z", "no-md5sum", "update", "norebuild!", "probe-rpms", '<>')
+foreach my $k ("f", "z", "update", "norebuild!", "probe-rpms", '<>')
{
$options_spec{'urpmi.addmedia'}{$k} = $options_spec{'urpmi.update'}{$k};
}
+foreach my $k ("no-md5sum")
+{
+ $options_spec{'urpmi'}{$k} = $options_spec{'urpmi.addmedia'}{$k} = $options_spec{'urpmi.update'}{$k};
+}
+
foreach my $k ("a", '<>') {
$options_spec{'urpmi.removemedia'}{$k} = $options_spec{'urpmi.update'}{$k};
}