diff options
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Master/install-tl b/Master/install-tl index a82bdfb9b60..40cc2103ecb 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -1342,8 +1342,14 @@ sub do_cleanup debug("Profile written to $vars{'TEXDIR'}/$InfraLocation/texlive.profile\n"); } # Close log file if present - close($::LOGFILE) if defined($::LOGFILE); - + close($::LOGFILE) if (defined($::LOGFILE)); + if (defined($::LOGFILENAME) and (-e $::LOGFILENAME)) { + print "Logfile: $::LOGFILENAME\n"; + } elsif (-e "$vars{'TEXDIRW'}/install-tl.log") { + print "Logfile: $vars{'TEXDIRW'}/install-tl.log\n"; + } else { + print "No logfile\n"; + } #print "Don't forget to set TEXMFSYSVAR to ".$vars{'TEXMFSYSVAR'}."!!!\n" #print "Don't forget to set TEXMFCNF to\n ". $vars{'TEXMFSYSVAR'}."/web2c !!!\n" # if ($vars{'from_dvd'} and !win32()); |