summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2020-05-18 19:05:44 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2020-05-18 19:05:44 +0000
commitc085a8613215e5e448e382b2d839621d77a1c348 (patch)
treecf5f1ccb5fe78210f6f7d20060f199c80c871ed4
parent8f27344647a2c12386a065fbe62d8935d07c5610 (diff)
Windows: not setting permissions on a pre-existing texmf-local
git-svn-id: svn://tug.org/texlive/trunk@55199 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/install-tl3
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'});
}