texlive[45814] Master/texmf-dist/scripts/texlive/tlmgr.pl: tlmgr: fix
commits+preining at tug.org
commits+preining at tug.org
Wed Nov 15 04:45:30 CET 2017
Revision: 45814
http://tug.org/svn/texlive?view=revision&revision=45814
Author: preining
Date: 2017-11-15 04:45:29 +0100 (Wed, 15 Nov 2017)
Log Message:
-----------
tlmgr: fix uninitialized var when remote cannot be loaded
Modified Paths:
--------------
trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2017-11-15 01:22:43 UTC (rev 45813)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl 2017-11-15 03:45:29 UTC (rev 45814)
@@ -6731,7 +6731,7 @@
}
if (!$local_copy_tlpdb_used) {
$remotetlpdb = TeXLive::TLPDB->new(root => $location, verify => 1);
- if ($is_main) {
+ if ($is_main && $remotetlpdb) {
if ($remotetlpdb->verification_status == $VS_UNSIGNED) {
# we don't allow unsigned main data bases!
tldie("$prg: main database at $location is not signed\n");
More information about the tex-live-commits
mailing list