diff options
author | Thierry Vignaud <tv@mageia.org> | 2011-10-07 17:48:49 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2011-10-07 17:48:49 +0000 |
commit | 357cd102c55c8787a07465abb7c7a86ac8effe2c (patch) | |
tree | 0d3600e73690d7e6f22b7c30cd63356c8d7d21fd /urpm/args.pm | |
parent | 4514719ee14d7a62290fea34f0a6cfb1dd727318 (diff) | |
download | urpmi-357cd102c55c8787a07465abb7c7a86ac8effe2c.tar urpmi-357cd102c55c8787a07465abb7c7a86ac8effe2c.tar.gz urpmi-357cd102c55c8787a07465abb7c7a86ac8effe2c.tar.bz2 urpmi-357cd102c55c8787a07465abb7c7a86ac8effe2c.tar.xz urpmi-357cd102c55c8787a07465abb7c7a86ac8effe2c.zip |
fix broken 'urpmi --no-md5sum' (pok, mga#62557)
Diffstat (limited to 'urpm/args.pm')
-rw-r--r-- | urpm/args.pm | 8 |
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}; } |