From c9e4b1beea01036edeab05f1051eae201bc78b3f Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Mon, 13 Jun 2016 03:15:51 +0000 Subject: install-tl: only run updmap-sys and fmtutil-sys if tetex is installed git-svn-id: svn://tug.org/texlive/trunk@41433 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/Master/install-tl b/Master/install-tl index b45cffc9395..ae2a67ac402 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -1008,7 +1008,11 @@ operations might be disturbed.\n\n"; $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 @@ operations might be disturbed.\n\n"; # 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, -- cgit v1.2.3