From e3c60ed1ea93be0be75a5a659ba6100a572f0fef Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 20 Mar 2008 06:57:06 +0000 Subject: more intelligent git-svn-id: svn://tug.org/texlive/trunk@7038 c570f23f-e606-0410-a88d-b1316a301751 --- Master/install-tl.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'Master') 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"; -- cgit v1.2.3