texlive[52422] Master/install-tl: (do_install_packages): install

commits+karl at tug.org commits+karl at tug.org
Thu Oct 17 23:43:09 CEST 2019


Revision: 52422
          http://tug.org/svn/texlive?view=revision&revision=52422
Author:   karl
Date:     2019-10-17 23:43:09 +0200 (Thu, 17 Oct 2019)
Log Message:
-----------
(do_install_packages): install critical packages first.

Modified Paths:
--------------
    trunk/Master/install-tl

Modified: trunk/Master/install-tl
===================================================================
--- trunk/Master/install-tl	2019-10-17 20:48:50 UTC (rev 52421)
+++ trunk/Master/install-tl	2019-10-17 21:43:09 UTC (rev 52422)
@@ -2124,9 +2124,14 @@
 } # read_profile
 
 sub do_install_packages {
-  my @what;
+  # let's install the critical packages first, since they are the most
+  # likely to fail, and nothing is usable without them.
+  my @what = @TeXLive::TLConfig::CriticalPackagesList;
   foreach my $package (sort keys %install) {
-    push @what, $package if ($install{$package} == 1);
+    if ($install{$package} == 1
+        && $package !~ m/$CriticalPackagesRegexp/) {
+      push (@what, $package)
+    }
   }
   # temporary unset the localtlpdb options responsible for
   # running all kind of postactions, since install_packages



More information about the tex-live-commits mailing list