summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-27 09:09:02 +0000
committerNorbert Preining <preining@logic.at>2010-05-27 09:09:02 +0000
commit64f9014bc483d6bf9855b8e0420c5eb34b4d8a63 (patch)
treeab345ca092eba769a00ac0e11a4a9549be1f07c6 /Master/install-tl
parentfe7b0646f7a71c57b9e2ef543c61d8fa73979851 (diff)
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
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl22
1 files changed, 18 insertions, 4 deletions
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