summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl12
1 files changed, 8 insertions, 4 deletions
diff --git a/Master/install-tl b/Master/install-tl
index f7855fa8048..eda10790a0a 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -421,7 +421,9 @@ if ($vars{'from_dvd'}) {
# Close log file if present
close($::LOGFILE) if defined($::LOGFILE);
-print "Don't forget to set TEXMFSYSVAR to ".$vars{'TEXMFSYSVAR'}."!!!\n"
+#print "Don't forget to set TEXMFSYSVAR to ".$vars{'TEXMFSYSVAR'}."!!!\n"
+print "Don't forget to set TEXMFCNF to\n ".
+ $vars{'TEXMFSYSVAR'}."/web2c:".$vars{'TEXDIR'}."/texmf/web2c !!!\n"
if ($vars{'from_dvd'} and !win32());
exit(0);
@@ -447,7 +449,9 @@ sub do_installation {
}
if (win32()) {
add_texbindir_to_path($vars{'TEXDIR'}.'/bin/win32');
- setenv_reg('TEXMFSYSVAR', $vars{'TEXMFSYSVAR'}) if $vars{'from_dvd'};
+ # setenv_reg('TEXMFSYSVAR', $vars{'TEXMFSYSVAR'}) if $vars{'from_dvd'};
+ setenv_reg('TEXMFCNF', $vars{'TEXMFSYSVAR'}.'/web2c;'.
+ $vars{'TEXDIR'}.'/texmf/web2c') if $vars{'from_dvd'};
broadcast_env();
create_uninstaller($vars{'TEXDIR'}, $vars{'TEXDIRW'},
$vars{'TEXMFSYSVAR'}, $vars{'TEXMFSYSCONFIG'});
@@ -1085,11 +1089,11 @@ sub do_texmf_cnf {
foreach (@newtmf) { print TMF; }
close(TMF);
} else { # $vars{'from_dvd'}
- open(TMF,">$vars{'TEXMFSYSVAR'}/web2c/texmf.cnf")
+ open(TMF,">>$vars{'TEXMFSYSVAR'}/web2c/texmf.cnf")
or die(
"Cannot open $vars{'TEXMFSYSVAR'}/web2c/texmf.cnf for writing: $!\n");
print TMF "TEXMFLOCAL = $vars{'TEXMFLOCAL'}\n";
- # skip TEXMFSYSVAR since it has to be defined by an env var anyway
+ print TMF "TEXMFSYSVAR = $vars{'TEXMFSYSVAR'}\n";
print TMF "TEXMFSYSCONFIG = $vars{'TEXMFSYSCONFIG'}\n";
print TMF "TEXMFHOME = $vars{'TEXMFHOME'}\n";
print TMF "OSFONTDIR = \$SystemRoot/fonts//\n" if win32();