diff options
-rwxr-xr-x | Master/install-tl.pl | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/install-tl.pl b/Master/install-tl.pl index d0ede80e389..f1cd9f97d5e 100755 --- a/Master/install-tl.pl +++ b/Master/install-tl.pl @@ -425,7 +425,8 @@ sub set_texlive_default_dirs { $tex_prefix ||= $prog . '/texlive' if TeXLive::TLWinGoo::dir_writable($prog); $tex_prefix||=getenv('USERPROFILE') . '/texlive'; } else { - $tex_prefix||='/usr/local/texlive'; + $tex_prefix||='/usr/local/texlive' if (-w '/usr/local'); + $tex_prefix||=getenv('HOME') . '/texlive'; } $vars{'TEXDIR'}="$tex_prefix/$texlive_release"; |