texlive[59273] Master/texmf-dist/scripts/texlive/tlmgr.pl: tlmgr:

commits+preining at tug.org commits+preining at tug.org
Thu May 20 01:02:15 CEST 2021


Revision: 59273
          http://tug.org/svn/texlive?view=revision&revision=59273
Author:   preining
Date:     2021-05-20 01:02:14 +0200 (Thu, 20 May 2021)
Log Message:
-----------
tlmgr: move load_config_file further up in main.

Modified Paths:
--------------
    trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl

Modified: trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl
===================================================================
--- trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2021-05-19 20:02:41 UTC (rev 59272)
+++ trunk/Master/texmf-dist/scripts/texlive/tlmgr.pl	2021-05-19 23:02:14 UTC (rev 59273)
@@ -398,6 +398,11 @@
 
   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 @@
 
   $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'}})) {



More information about the tex-live-commits mailing list.