diff options
author | Norbert Preining <preining@logic.at> | 2010-04-26 19:41:33 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2010-04-26 19:41:33 +0000 |
commit | c10d5924f94cb2e9830e8962c20b2e710dd1a310 (patch) | |
tree | e2ac933aa8a131c812b5c48a6a2f86d22a4bf66c /Master/texmf | |
parent | 72bd09c1ce93a58e9975bf203910a98c59e71ba7 (diff) |
really make config option work
git-svn-id: svn://tug.org/texlive/trunk@18011 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 8868377b291..50306395e49 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -345,7 +345,10 @@ sub main { } } # default method is doing persistent downloads: - $do_persistent = ($do_persistent || 1); + if (!defined($do_persistent)) { + $do_persistent = 1; + } + debug("persistent download are $do_persistent\n"); TeXLive::TLUtils::setup_persistent_downloads() if $do_persistent; } @@ -4308,7 +4311,7 @@ sub load_config_file while (<TLC>) { if (m/^\s*$/) { next; } if (m/^\s*#/) { next; } - if (m/^\s*(\w+)\s*=\s*(.*)\s*$/) { + if (m/^\s*([\w-]+)\s*=\s*(.*)\s*$/) { my $key = $1; my $val = $2; if ($key eq "gui_expertmode") { |