summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-11-22 18:53:41 +0000
committerKarl Berry <karl@freefriends.org>2019-11-22 18:53:41 +0000
commit6699349c8b576c24b04482063aac8d7879c0f621 (patch)
tree7ed2d965ed49419640595a34b081402133dad100
parent3bfb3c1fbc17ce5f151761dc1f844e7d9525727c (diff)
use TLConfig::CriticalPackagesList instead of duplicating
git-svn-id: svn://tug.org/texlive/trunk@52886 c570f23f-e606-0410-a88d-b1316a301751
-rwxr-xr-xMaster/tlpkg/bin/tl-update-containers7
1 files changed, 2 insertions, 5 deletions
diff --git a/Master/tlpkg/bin/tl-update-containers b/Master/tlpkg/bin/tl-update-containers
index 38173526582..b42ff669e41 100755
--- a/Master/tlpkg/bin/tl-update-containers
+++ b/Master/tlpkg/bin/tl-update-containers
@@ -29,9 +29,6 @@ use File::Path;
my $script_master;
-# packages matching these re's will not be updated without --all.
-my @critical_pkg_list = qw/texlive\.infra tlperl\.win32/;
-
our ($mydir, $vc_id);
my $opt_all = 0;
my $opt_dry = 0;
@@ -244,7 +241,7 @@ sub main {
# get list of packages.
PACKS: for my $pkg (sort @todopacks) {
next if $pkg =~ /00texlive/;
- foreach my $manualpkgre (@critical_pkg_list) {
+ foreach my $manualpkgre (@TeXLive::TLConfig::CriticalPackagesList) {
# we match the initial string of the package name, so that all the
# .arch packages are skipped, too
if ($pkg =~ m/^$manualpkgre/) {
@@ -371,7 +368,7 @@ sub main {
}
# next we remove containers for packages that have been deleted.
REMOVEPACK: for my $op (@removepacks) {
- foreach my $manualpkgre (@critical_pkg_list) {
+ foreach my $manualpkgre (@TeXLive::TLConfig::CriticalPackagesList) {
# we match the initial string of the package name, so that all the
# .arch packages are skipped, too
if ($op =~ m/^$manualpkgre/) {