summaryrefslogtreecommitdiff
path: root/Master/install-tl
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-09-02 22:18:27 +0000
committerNorbert Preining <preining@logic.at>2009-09-02 22:18:27 +0000
commite85c99e4585447c6af74c110dfa270c8ea870f80 (patch)
treec73b303c5f69dafd0ff5fac7446e8a022b64c5e6 /Master/install-tl
parent672ef6653aecb18802d7c246091779ea1e28bac9 (diff)
make sure that option_w32_multi_user is 0 when installing as non-admin
git-svn-id: svn://tug.org/texlive/trunk@15002 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/install-tl')
-rwxr-xr-xMaster/install-tl3
1 files changed, 3 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index 12f092ac119..08e23c7b371 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -1163,6 +1163,9 @@ sub load_tlpdb {
$vars{'option_path'} = $tlpdb->option("path");
$vars{'option_path'} = 1 if win32();
$vars{'option_w32_multi_user'} = $tlpdb->option("w32_multi_user");
+ # we have to make sure that this option is set to 0 in case
+ # that a non-admin is running the installations program
+ $vars{'option_w32_multi_user'} = 0 if (win32() && !admin());
$vars{'option_file_assocs'} = $tlpdb->option("file_assocs");
$vars{'option_post_code'} = $tlpdb->option("post_code");
$vars{'option_sys_bin'} = $tlpdb->option("sys_bin");