summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorSiep Kroonenberg <siepo@cybercomm.nl>2009-09-07 10:21:04 +0000
committerSiep Kroonenberg <siepo@cybercomm.nl>2009-09-07 10:21:04 +0000
commitd0ff1842137d956841cb0f79d9973b4144fb9f9e (patch)
treee7a4674cb83cdf6505f5d6a9f66584570dc34cb9 /Master/install-tl
parent3e3c710ed35aabb7c68a55d061454102808e2893 (diff)
install-tl: reverting to %programfiles% as default even if non-writable
git-svn-id: svn://tug.org/texlive/trunk@15172 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 84b058c294b..8c27feae0d5 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::TLUtils::dir_writable($prog);
- $tex_prefix||=getenv('APPDATA') . '/texlive';
+ $tex_prefix ||= $prog . '/texlive';
+ # if default is not writable, user has to pick another place manually
+ # USERPROFILE isn't an option, it is copied around on roaming setups
} else {
$tex_prefix||='/usr/local/texlive';
}