From 64f9014bc483d6bf9855b8e0420c5eb34b4d8a63 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 27 May 2010 09:09:02 +0000 Subject: create texmfcnf.lua file at installation time, and ignore the message that is created by the installer in tl-update-tlnet git-svn-id: svn://tug.org/texlive/trunk@18525 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'Master/install-tl') diff --git a/Master/install-tl b/Master/install-tl index a565ac661a6..d69c7a1b02e 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -812,10 +812,24 @@ operations might be disturbed.\n\n"; # we only call luatools --generate once at installation time, the # rest must be managed by the user, Taco email 2010-05-26 if (defined($install{"context"} && $install{"context"} == 1)) { - info("Generating the initial ConTeXt MkIV cache, be patient ..."); - mkdirhier($TEXMFVAR); - log(`luatools --generate`); - info("done\n"); + info("Generating luatex config file texmfcnf.lua"); + # + # can we move that to a different place? + if (!open(TMFCL,">$vars{'TEXDIR'}/texmfcnf.lua")) { + tlwarn("Cannot generate texmfcnf.lua in + $vars{'TEXDIR'}/texmfcnf.lua +not setting up luatex cache.\n"); + } else { + print TMFCL " +return { + TEXMFCACHE = '~/.texlive2010/texmf-var' +} +"; + info("Generating the initial ConTeXt MkIV cache, be patient ..."); + mkdirhier($TEXMFVAR); + log(`luatools --generate 2>&1 `); + info("done\n"); + } } # all formats option -- cgit v1.2.3