diff options
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index e45fe357a22..578cd120cb4 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -398,6 +398,10 @@ sub main { GetOptions(\%opts, keys(%optarg)) or pod2usage(2); + # load the config file and set the config options + # load it BEFORE starting downloads as we set persistent-downloads there! + load_config_file(); + $::debug_translation = 0; $::debug_translation = 1 if $opts{"debug-translation"}; @@ -422,7 +426,7 @@ sub main { ddebug("action = $action\n"); for my $k (keys %opts) { - ddebug("$k => $opts{$k}\n"); + ddebug("$k => " . (defined($opts{$k}) ? $opts{$k} : "(undefined)") . "\n"); } ddebug("arguments: @ARGV\n") if @ARGV; @@ -669,10 +673,6 @@ for the full story.\n"; $loadmediasrcerror = "Cannot load TeX Live database from "; - # load the config file and set the config options - # load it BEFORE starting downloads as we set persistent-downloads there! - load_config_file(); - # in system mode verify that the selected action is allowed if (!$opts{"usermode"} && $config{'allowed-actions'}) { if (!TeXLive::TLUtils::member($action, @{$config{'allowed-actions'}})) { |