texlive[47706] Master/tlpkg/bin/tl-update-containers: fix

commits+preining at tug.org commits+preining at tug.org
Mon May 14 01:05:48 CEST 2018


Revision: 47706
          http://tug.org/svn/texlive?view=revision&revision=47706
Author:   preining
Date:     2018-05-14 01:05:47 +0200 (Mon, 14 May 2018)
Log Message:
-----------
fix tl-update-containers warnings

Modified Paths:
--------------
    trunk/Master/tlpkg/bin/tl-update-containers

Modified: trunk/Master/tlpkg/bin/tl-update-containers
===================================================================
--- trunk/Master/tlpkg/bin/tl-update-containers	2018-05-13 21:56:47 UTC (rev 47705)
+++ trunk/Master/tlpkg/bin/tl-update-containers	2018-05-13 23:05:47 UTC (rev 47706)
@@ -211,7 +211,13 @@
   # 
   for my $name (qw(config installation installer image)) {
     my $tlp00 = $tlpdb->get_package("00texlive.$name");
-    $nettlpdb->add_tlpobj($tlp00);
+    if ($tlp00) {
+      $nettlpdb->add_tlpobj($tlp00);
+    } else {
+      if ($name eq "config" || $name eq "installation") {
+        tlwarn("$0: essential package 00texlive.$name seems to be missing!\n");
+      }
+    }
   }
 
   # set up the programs.



More information about the tex-live-commits mailing list