diff options
author | Norbert Preining <preining@logic.at> | 2016-04-12 06:10:52 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-04-12 06:10:52 +0000 |
commit | c9367258a3cd0e44e0d82bb91dd0c33e25443cda (patch) | |
tree | 485dff105ded626e7a75a24ac54042568f68de2e /Master/texmf-dist/scripts | |
parent | ab3d7a43c88e88e3c6d26b2cd6cce44cafec6144 (diff) |
reintroduce verify_checksum, single out code, adapt tlmgr
tlmgr uses verify_checksum to verify the downloaded tlpdb copy
with the remote checksum to reduce loading time. Reintroduce
verify_checksum, single out the code from verify_download,
and adjust tlmgr to new calling convention that second
argument is already the url for the checksum
git-svn-id: svn://tug.org/texlive/trunk@40446 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index 2423e4bebf9..a0f7a2d27fa 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -5856,7 +5856,7 @@ sub setup_one_remotetlpdb { my $path = "$location/$InfraLocation/$DatabaseName.checksum"; ddebug("remote path of digest = $path\n"); - my ($ret, $msg) = TeXLive::TLUtils::verify_checksum($loc_copy_of_remote_tlpdb, $path); + my ($ret, $msg) = TeXLive::TLUtils::verify_checksum($loc_copy_of_remote_tlpdb, "$path.checksum"); if (!$ret) { if (($msg eq "file not found") || ($msg eq "read error") || ($msg eq "digest not found")) { info(<<END_NO_INTERNET); |