summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2010-05-23 09:17:05 +0000
committerNorbert Preining <preining@logic.at>2010-05-23 09:17:05 +0000
commitd17ff484f3b83596189c30836de3174b521d4c81 (patch)
tree6730288e3f266c9f7c4d4c768b0859c682400051
parentc7a15dc3cccba3cd349276937590fc8c6c583708 (diff)
fix missing default value
git-svn-id: svn://tug.org/texlive/trunk@18428 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/install-tl2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/install-tl b/Master/install-tl
index dbb7db4a1db..4c21bbea15f 100755
--- a/Master/install-tl
+++ b/Master/install-tl
@@ -1180,6 +1180,7 @@ sub load_tlpdb {
$vars{'option_desktop_integration'} = $tlpdb->option("desktop_integration");
$vars{'option_desktop_integration'} = 1 if win32();
$vars{'option_path'} = $tlpdb->option("path");
+ $vars{'option_path'} = 0 if !defined($vars{'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
@@ -1488,6 +1489,7 @@ sub import_settings_from_old_tlpdb {
$vars{'option_path'} =
$previoustlpdb->option_pkg("00texlive.installation",
"path");
+ $vars{'option_path'} = 0 if !defined($vars{'option_path'});
$vars{'option_path'} = 1 if win32();
$vars{'option_sys_bin'} =
$previoustlpdb->option_pkg("00texlive.installation",