diff options
author | Norbert Preining <preining@logic.at> | 2021-05-21 03:14:40 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2021-05-21 03:14:40 +0000 |
commit | 239a4ff802c59efea422120c00ffc23a00840396 (patch) | |
tree | 6df66a6f7097d28dd9d4c2c04fd551b0ceee44de /Master/texmf-dist/scripts | |
parent | c3a05cfc59bd247231e74a6533a2c39e156bdb7e (diff) |
tlmgr: fix gui-lang setting in config file not honored
git-svn-id: svn://tug.org/texlive/trunk@59291 c570f23f-e606-0410-a88d-b1316a301751
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'}})) { |