summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl7
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") {