From ac5a70db094718578e32ac9b872b78a4ab83cbde Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 12 Jul 2008 12:50:42 +0000 Subject: TLUtils: fix that dreadful: size are equal, but md5sums differ. We checked the wrong string, namely http://... instead of the downloaded file!!! STUPIDITY git-svn-id: svn://tug.org/texlive/trunk@9470 c570f23f-e606-0410-a88d-b1316a301751 --- Master/tlpkg/TeXLive/TLUtils.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Master/tlpkg/TeXLive') diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm index f4b3ba27701..761a85fcd11 100644 --- a/Master/tlpkg/TeXLive/TLUtils.pm +++ b/Master/tlpkg/TeXLive/TLUtils.pm @@ -924,7 +924,7 @@ sub install_package { if ($size == $whatsize) { # we want to check also the md5sum if we have it present if ($whatmd5) { - if (tlmd5($what) eq $whatmd5) { + if (tlmd5($lzmafile) eq $whatmd5) { $gotfiledone = 1; } else { tlwarn("Downloaded file present, size equal, but md5sum differs\nredownloading $what!\n"); @@ -941,7 +941,7 @@ sub install_package { } else { # ok no size information, hopefully we have md5 sums if ($whatmd5) { - if (tlmd5($what) eq $whatmd5) { + if (tlmd5($lzmafile) eq $whatmd5) { $gotfiledone = 1; } else { tlwarn("Downloaded file present, but md5sum differs, removing it!\n"); -- cgit v1.2.3