diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-19 14:30:40 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2005-08-19 14:30:40 +0000 |
commit | 6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6 (patch) | |
tree | 8f3ad8f424f685a8f546cbeba43901151456ff93 | |
parent | 8045404d5bbb831af9ae1da74c5de1262e6653c3 (diff) | |
download | urpmi-6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6.tar urpmi-6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6.tar.gz urpmi-6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6.tar.bz2 urpmi-6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6.tar.xz urpmi-6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6.zip |
Fix bug 17460 : MD5 for hdlists weren't checked with http media
-rw-r--r-- | urpm.pm | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1201,7 +1201,7 @@ this could happen if you mounted manually the directory when creating the medium } } if ($medium->{md5sum}) { - parse_md5sum($urpm, reduce_pathname("$with_hdlist_dir/../MD5SUM"), $basename); + $retrieved_md5sum = parse_md5sum($urpm, reduce_pathname("$with_hdlist_dir/../MD5SUM"), $basename); #- If an existing hdlist or synthesis file has the same md5sum, we assume #- the files are the same. #- If the local md5sum is the same as the distant md5sum, this means @@ -1475,7 +1475,7 @@ this could happen if you mounted manually the directory when creating the medium } } if ($medium->{md5sum}) { - parse_md5sum($urpm, "$urpm->{cachedir}/partial/MD5SUM", $basename); + $retrieved_md5sum = parse_md5sum($urpm, "$urpm->{cachedir}/partial/MD5SUM", $basename); #- if an existing hdlist or synthesis file has the same md5sum, we assume the #- files are the same. #- if local md5sum is the same as distant md5sum, this means there is no need to |