diff options
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/install-tl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/install-tl b/Master/install-tl index 227d013c542..026945d2743 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -946,11 +946,12 @@ sub do_installation { $vars{'TEXDIR'} =~ s!/$!!; # do the actual installation make_var_skeleton "$vars{'TEXMFSYSVAR'}"; + my $oldlocal = -d $vars{'TEXMFLOCAL'}; make_local_skeleton "$vars{'TEXMFLOCAL'}"; mkdirhier "$vars{'TEXMFSYSCONFIG'}"; if (win32()) { TeXLive::TLWinGoo::maybe_make_ro ($vars{'TEXMFSYSVAR'}); - TeXLive::TLWinGoo::maybe_make_ro ($vars{'TEXMFLOCAL'}); + TeXLive::TLWinGoo::maybe_make_ro ($vars{'TEXMFLOCAL'}) unless $oldlocal; TeXLive::TLWinGoo::maybe_make_ro ($vars{'TEXMFSYSCONFIG'}); } |