diff options
author | Norbert Preining <preining@logic.at> | 2021-05-19 23:02:14 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2021-05-19 23:02:14 +0000 |
commit | 7ca02798956d6d9d3974521db4a773a1093846ca (patch) | |
tree | fb1ae13fb62fee77c5319c720d77f9fb6c1b87b3 /Master/texmf-dist/scripts | |
parent | f869690075cb69a9bb4652b5246f1f13d883a4f9 (diff) |
tlmgr: move load_config_file further up in main.
git-svn-id: svn://tug.org/texlive/trunk@59273 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/scripts')
-rwxr-xr-x | Master/texmf-dist/scripts/texlive/tlmgr.pl | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl index e45fe357a22..5941ffeeedc 100755 --- a/Master/texmf-dist/scripts/texlive/tlmgr.pl +++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl @@ -398,6 +398,11 @@ 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"}; @@ -669,10 +674,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'}})) { |