summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm4
1 files changed, 2 insertions, 2 deletions
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");