diff options
author | Norbert Preining <preining@logic.at> | 2009-09-03 00:13:30 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-09-03 00:13:30 +0000 |
commit | c1005655e72b28e98cb815362deaabb21d2f7ccb (patch) | |
tree | 7b56ba6dec37b0a764240668679fd1eb9bc416c1 /Master/install-tl | |
parent | d6601e38e42dad86a071059489bacf9a8515b3d1 (diff) |
on W32 and non-admin pre-select a location in %APPDATA%
git-svn-id: svn://tug.org/texlive/trunk@15008 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-x | Master/install-tl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Master/install-tl b/Master/install-tl index 0929d0fd2f2..8743f6c0593 100755 --- a/Master/install-tl +++ b/Master/install-tl @@ -993,9 +993,9 @@ sub set_texlive_default_dirs { $tex_prefix=getenv('TEXLIVE_INSTALL_PREFIX'); if (win32) { my $prog = getenv('ProgramFiles'); - $tex_prefix ||= $prog . '/texlive'; - # $tex_prefix ||= $prog . '/texlive' if TeXLive::TLWinGoo::dir_writable($prog); - # $tex_prefix||=getenv('USERPROFILE') . '/texlive'; + # $tex_prefix ||= $prog . '/texlive'; + $tex_prefix ||= $prog . '/texlive' if TeXLive::TLWinGoo::dir_writable($prog); + $tex_prefix||=getenv('APPDATA') . '/texlive'; } else { $tex_prefix||='/usr/local/texlive'; } |