summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2015-04-12 02:41:15 +0000
committerNorbert Preining <preining@logic.at>2015-04-12 02:41:15 +0000
commitd1c10b0e8ae31a25adc6ad5fb8377534d4acc6a4 (patch)
treec7244ee1b0e8a7850cabb095d30fea8e1d974494 /Master/install-tl
parente371ee1a28d1e74fb8419798c0c0b78b7e7d3a20 (diff)
fmtutil: switch to perl version on all platforms
changes effected: - update link for unix fmtutil - change fmtutil-sys to call fmtutil --sys - cp runscript.tlu to fmtutil.exe on windows - update install-tl and tlmgr to generate fmtutil.cnf in TEXMFDIST git-svn-id: svn://tug.org/texlive/trunk@36770 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl14
1 files changed, 10 insertions, 4 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 94104569aa9..32737e3f316 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -908,12 +908,18 @@ operations might be disturbed.\n\n";
# $localtlpdb and this is simple code, so do it directly, i.e., duplicate
# the code from the various generate-*.pl scripts
- info("writing fmtutil.cnf to $TEXMFSYSVAR/web2c/fmtutil.cnf\n");
+ mkdirhier "$TEXDIR/texmf-dist/web2c";
+ info("writing fmtutil.cnf to $TEXDIR/texmf-dist/web2c/fmtutil.cnf\n");
TeXLive::TLUtils::create_fmtutil($usedtlpdb,
- "$TEXMFSYSVAR/web2c/fmtutil.cnf",
- "$TEXMFLOCAL/web2c/fmtutil-local.cnf");
+ "$TEXDIR/texmf-dist/web2c/fmtutil.cnf");
+
+ # warn if fmtutil-local.cnf is presetn
+ if (-r "$TEXMFLOCAL/web2c/fmtutil-local.cnf") {
+ tlwarn("Old configuration file $TEXMFLOCAL/web2c/fmtutil-local.cnf found.\n");
+ tlwarn("fmtutil now reads *all* fmtutil.cnf files, so probably the easiest way\nis to rename the above file to $TEXMFLOCAL/web2c/fmtutil.cnf\n");
+ }
+
- mkdirhier "$TEXDIR/texmf-dist/web2c";
info("writing updmap.cfg to $TEXDIR/texmf-dist/web2c/updmap.cfg\n");
TeXLive::TLUtils::create_updmap ($usedtlpdb,
"$TEXDIR/texmf-dist/web2c/updmap.cfg");