From 239a4ff802c59efea422120c00ffc23a00840396 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 21 May 2021 03:14:40 +0000 Subject: tlmgr: fix gui-lang setting in config file not honored git-svn-id: svn://tug.org/texlive/trunk@59291 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/scripts/texlive/tlmgr.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Master') 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'}})) { -- cgit v1.2.3