diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-06-05 07:26:49 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-06-05 07:26:49 +0000 |
commit | f4e3ed0e00207712c8c7d8af31212f5cb56d1bc1 (patch) | |
tree | d8304cb334f47c03c211a0227f41f9bb353127f5 | |
parent | 631e503423d88d04c53623eef3daaf2885098226 (diff) | |
download | urpmi-f4e3ed0e00207712c8c7d8af31212f5cb56d1bc1.tar urpmi-f4e3ed0e00207712c8c7d8af31212f5cb56d1bc1.tar.gz urpmi-f4e3ed0e00207712c8c7d8af31212f5cb56d1bc1.tar.bz2 urpmi-f4e3ed0e00207712c8c7d8af31212f5cb56d1bc1.tar.xz urpmi-f4e3ed0e00207712c8c7d8af31212f5cb56d1bc1.zip |
- urpmi.addmedia, urpmi.update:
o fix --no-md5sum (regression introduced in 5.20) (#41237)
-rw-r--r-- | NEWS | 3 | ||||
-rw-r--r-- | urpm/media.pm | 4 |
2 files changed, 5 insertions, 2 deletions
@@ -1,3 +1,6 @@ +- urpmi.addmedia, urpmi.update: + o fix --no-md5sum (regression introduced in 5.20) (#41237) + Version 5.20 - 2 June 2008, by Pascal "Pixel" Rigaux - urpmi: diff --git a/urpm/media.pm b/urpm/media.pm index 12d7f0cc..b2c12378 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1337,7 +1337,7 @@ sub _update_medium__parse_if_unmodified__local { } my $ok = get_synthesis__local($urpm, $medium, $options->{callback}); - $ok &&= check_synthesis_md5sum($urpm, $medium) if !$options->{force}; + $ok &&= check_synthesis_md5sum($urpm, $medium) if !$options->{force} && !$options->{nomd5sum}; if ($ok) { 1; @@ -1452,7 +1452,7 @@ sub _update_medium__parse_if_unmodified__remote { $ok = get_synthesis__remote($urpm, $medium, $options->{callback}, $options->{quiet}); } - $ok &&= check_synthesis_md5sum($urpm, $medium) if !$options->{force}; + $ok &&= check_synthesis_md5sum($urpm, $medium) if !$options->{force} && !$options->{nomd5sum}; $options->{callback} and $options->{callback}('done', $medium->{name}); |