summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-09-03 00:13:30 +0000
committerNorbert Preining <preining@logic.at>2009-09-03 00:13:30 +0000
commitc1005655e72b28e98cb815362deaabb21d2f7ccb (patch)
tree7b56ba6dec37b0a764240668679fd1eb9bc416c1 /Master/install-tl
parentd6601e38e42dad86a071059489bacf9a8515b3d1 (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-xMaster/install-tl6
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';
}