texlive[41433] Master/install-tl: install-tl: only run updmap-sys and

commits+preining at tug.org commits+preining at tug.org
Mon Jun 13 05:15:51 CEST 2016


Revision: 41433
          http://tug.org/svn/texlive?view=revision&revision=41433
Author:   preining
Date:     2016-06-13 05:15:51 +0200 (Mon, 13 Jun 2016)
Log Message:
-----------
install-tl: only run updmap-sys and fmtutil-sys if tetex is installed

Modified Paths:
--------------
    trunk/Master/install-tl

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2016-06-13 03:03:17 UTC (rev 41432)
+++ trunk/Master/install-tl	2016-06-13 03:15:51 UTC (rev 41433)
@@ -1008,7 +1008,11 @@
   $errcount += wsystem("running", "mktexlsr",
                        $TEXMFSYSVAR, $TEXMFSYSCONFIG, "$TEXDIR/texmf-dist");
 
-  $errcount += run_postinst_cmd("updmap-sys --nohash");
+  if (exists($install{"tetex"}) && $install{"tetex"} == 1) {
+    $errcount += run_postinst_cmd("updmap-sys --nohash");
+  } else {
+    info("not running updmap-sys (not installed)\n");
+  }
 
   # now work through the options if specified at all
 
@@ -1033,8 +1037,12 @@
 
   # all formats option
   if ($vars{'option_fmt'}) {
-    info("pre-generating all format files, be patient...\n");
-    $errcount += run_postinst_cmd("fmtutil-sys $common_fmtutil_args --all");
+    if (exists($install{"tetex"}) && $install{"tetex"} == 1) {
+      info("pre-generating all format files, be patient...\n");
+      $errcount += run_postinst_cmd("fmtutil-sys $common_fmtutil_args --all");
+    } else {
+      info("not running fmtutil-sys (not installed)\n");
+    }
   }
 
   # do path adjustments: On Windows add/remove to PATH etc,



More information about the tex-live-commits mailing list