summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/scripts/texlive/tlmgr.pl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2020-02-19 07:28:40 +0000
committerNorbert Preining <preining@logic.at>2020-02-19 07:28:40 +0000
commit0b83d30cf91337c96bf2a66373ec7eb19727301a (patch)
tree76c84c433052e33bd626964e445bc590374d0870 /Master/texmf-dist/scripts/texlive/tlmgr.pl
parent6431384589a89ed6ca8df204edde31c661889961 (diff)
show link to verification explanation web page on errors
git-svn-id: svn://tug.org/texlive/trunk@53842 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts/texlive/tlmgr.pl')
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl12
1 files changed, 11 insertions, 1 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index 916b462e856..afc483458ed 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -6900,8 +6900,10 @@ END_NO_CHECKSUMS
}
# from here on only in non-machine-readable mode and not silent
info("$prg: package repositories\n");
+ my $show_verification_page_link = 0;
my $verstat = "";
if (!$remotetlpdb->virtual_get_tlpdb('main')->is_verified) {
+ $show_verification_page_link = 1;
$verstat = ": ";
$verstat .= $VerificationStatusDescription{$remotetlpdb->virtual_get_tlpdb('main')->verification_status};
}
@@ -6912,14 +6914,22 @@ END_NO_CHECKSUMS
if ($t ne 'main') {
$verstat = "";
if (!$remotetlpdb->virtual_get_tlpdb($t)->is_verified) {
+ my $tlpdb_ver_stat = $remotetlpdb->virtual_get_tlpdb($t)->verification_status;
$verstat = ": ";
- $verstat .= $VerificationStatusDescription{$remotetlpdb->virtual_get_tlpdb($t)->verification_status};
+ $verstat .= $VerificationStatusDescription{$tlpdb_ver_stat};
+ # if the db is not verified *but* was signed, give the page link info
+ if ($tlpdb_ver_stat != $VS_UNSIGNED) {
+ $show_verification_page_link = 1;
+ }
}
info("\t$t = " . $repos{$t} . " (" .
($remotetlpdb->virtual_get_tlpdb($t)->is_verified ? "" : "not ") .
"verified$verstat)\n");
}
}
+ if ($show_verification_page_link) {
+ info("For more about verification, see https://texlive.info/verification.html.\n");
+ }
return 1;
}