summaryrefslogtreecommitdiffstats
path: root/urpm.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-19 14:30:40 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-08-19 14:30:40 +0000
commit6baa3fd970daa8d2eb993ca8d48ebb5d0db619d6 (patch)
tree8f3ad8f424f685a8f546cbeba43901151456ff93 /urpm.pm
parent8045404d5bbb831af9ae1da74c5de1262e6653c3 (diff)
downloadurpmi-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
Diffstat (limited to 'urpm.pm')
-rw-r--r--urpm.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/urpm.pm b/urpm.pm
index c8f7a9b4..7d8dcfa4 100644
--- a/urpm.pm
+++ b/urpm.pm
@@ -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