diff options
author | Norbert Preining <preining@logic.at> | 2016-06-13 03:15:51 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2016-06-13 03:15:51 +0000 |
commit | c9e4b1beea01036edeab05f1051eae201bc78b3f (patch) | |
tree | b09405645b9c3335ec1c2d04dfae3347d03542bc | |
parent | 71f0eee51b5e8ae02a00a378560420e1179a3969 (diff) |
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
-rwxr-xr-x | Master/install-tl | 14 |
1 files 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, |