diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 14 |
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"); |