diff options
author | Pascal Rigaux <pixel@mandriva.com> | 2008-09-22 15:40:25 +0000 |
---|---|---|
committer | Pascal Rigaux <pixel@mandriva.com> | 2008-09-22 15:40:25 +0000 |
commit | a1dca5cbe9076b19ca716ed6d66f7ba6670302d4 (patch) | |
tree | f62b3c0e7a414b824e65647d59452b36cfdadcae /urpm/md5sum.pm | |
parent | 23052247a36cf831133504fdf0819fa054ce9912 (diff) | |
download | urpmi-a1dca5cbe9076b19ca716ed6d66f7ba6670302d4.tar urpmi-a1dca5cbe9076b19ca716ed6d66f7ba6670302d4.tar.gz urpmi-a1dca5cbe9076b19ca716ed6d66f7ba6670302d4.tar.bz2 urpmi-a1dca5cbe9076b19ca716ed6d66f7ba6670302d4.tar.xz urpmi-a1dca5cbe9076b19ca716ed6d66f7ba6670302d4.zip |
prepare next commits: introduce $medium->{parsed_md5sum}
Diffstat (limited to 'urpm/md5sum.pm')
-rw-r--r-- | urpm/md5sum.pm | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/urpm/md5sum.pm b/urpm/md5sum.pm index 855bfdd1..cecd5300 100644 --- a/urpm/md5sum.pm +++ b/urpm/md5sum.pm @@ -22,9 +22,7 @@ sub check_file { } sub from_MD5SUM__or_warn { - my ($urpm, $md5sum_file, $basename) = @_; - $urpm->{debug}(N("examining %s file", $md5sum_file)) if $urpm->{debug}; - my $md5sums = parse($md5sum_file) or $urpm->{log}(N("invalid MD5SUM file")), return; + my ($urpm, $md5sums, $basename) = @_; $md5sums->{$basename} or $urpm->{log}(N("warning: md5sum for %s unavailable in MD5SUM file", $basename)); $md5sums->{$basename}; } |