diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl index 0a15525788a..3847c0c553c 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -639,7 +639,6 @@ sub do_postinst_stuff { my $TEXDIR="$vars{'TEXDIR'}"; my $TEXDIRW="$vars{'TEXDIRW'}"; my $TEXMFSYSVAR="$vars{'TEXMFSYSVAR'}"; - my $TEXMFVAR="$vars{'TEXMFVAR'}"; my $TEXMFSYSCONFIG="$vars{'TEXMFSYSCONFIG'}"; my $TEXMFLOCAL="$vars{'TEXMFLOCAL'}"; my $tmv; @@ -812,7 +811,12 @@ operations might be disturbed.\n\n"; # rest must be managed by the user, Taco email 2010-05-26 if (exists($install{"context"}) && $install{"context"} == 1) { info("Generating the initial ConTeXt MkIV cache, be patient ..."); - mkdirhier($TEXMFVAR); + # we put the luatex cache into TEXMFVAR which will solve the problem + # of pregeneration for most people (single user). With multi user + # installations that luatools --generate has to be run by every + # user that did not install TL himself. + chomp (my $tmv = `kpsewhich -var-value=TEXMFVAR`); + mkdirhier($tmv); log(`luatools --generate 2>&1`); info("done\n"); } |