summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-03-20 06:57:06 +0000
committerNorbert Preining <preining@logic.at>2008-03-20 06:57:06 +0000
commite3c60ed1ea93be0be75a5a659ba6100a572f0fef (patch)
tree5ca361f17ff0faa78af1ed0c9c2f520be7e3752f /Master
parent6d2a13a6ccee5da33a6a1a387894128a27b2884f (diff)
more intelligent
git-svn-id: svn://tug.org/texlive/trunk@7038 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/install-tl.pl1
1 files changed, 1 insertions, 0 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl
index f1cd9f97d5e..678f30531a5 100755
--- a/Master/install-tl.pl
+++ b/Master/install-tl.pl
@@ -426,6 +426,7 @@ sub set_texlive_default_dirs {
$tex_prefix||=getenv('USERPROFILE') . '/texlive';
} else {
$tex_prefix||='/usr/local/texlive' if (-w '/usr/local');
+ $tex_prefix||='/usr/local/texlive' if ( (-d '/usr/local/texlive') && (-w '/usr/local/texlive') );
$tex_prefix||=getenv('HOME') . '/texlive';
}
$vars{'TEXDIR'}="$tex_prefix/$texlive_release";