From d1c10b0e8ae31a25adc6ad5fb8377534d4acc6a4 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 12 Apr 2015 02:41:15 +0000 Subject: 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 --- Master/install-tl | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) (limited to 'Master/install-tl') 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"); -- cgit v1.2.3