diff options
Diffstat (limited to 'urpm')
-rw-r--r-- | urpm/media.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/urpm/media.pm b/urpm/media.pm index 7309e9d1..f88774ba 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -1281,6 +1281,9 @@ sub get_synthesis__remote { chomp(my $err = $@); $urpm->{error}(N("...retrieving failed: %s", $err)); } + + $ok &&= check_synthesis_md5sum($urpm, $medium) if !$options->{force} && !$options->{nomd5sum}; + $ok; } @@ -1470,8 +1473,6 @@ sub _update_medium__parse_if_unmodified__remote { } my $ok = get_synthesis__remote($urpm, $medium, !$updating, $options); - $ok &&= check_synthesis_md5sum($urpm, $medium) if !$options->{force} && !$options->{nomd5sum}; - $options->{callback} and $options->{callback}('done', $medium->{name}); if (!$ok) { |