summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-07-26 17:39:35 +0000
committerKarl Berry <karl@freefriends.org>2019-07-26 17:39:35 +0000
commit7c01762b35e268bf313003d4626d591d7337c603 (patch)
tree10b7c79f613ae667af88fb4439380114e20b22d3
parent0e3300a3ad078d7cda0c349c063d78af5b9d1c9d (diff)
(check_runfiles): ignore latex-.*-dev packages
git-svn-id: svn://tug.org/texlive/trunk@51740 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/texmf-dist/scripts/texlive/NEWS2
-rwxr-xr-xMaster/texmf-dist/scripts/texlive/tlmgr.pl11
2 files changed, 8 insertions, 5 deletions
diff --git a/Master/texmf-dist/scripts/texlive/NEWS b/Master/texmf-dist/scripts/texlive/NEWS
index 7bfa54c0a6b..803f7921f25 100644
--- a/Master/texmf-dist/scripts/texlive/NEWS
+++ b/Master/texmf-dist/scripts/texlive/NEWS
@@ -1,6 +1,8 @@
(This file public domain. Originally written by Norbert Preining and
Karl Berry, 2010.)
+<li>check-runfiles ignore latex-.*-dev packages.
+
<p><b>tlmgr 51555 (released 5jul19):</b>
<li>runscript.tlu: use vbscript for GUI error boxes, so tlshell can be
its own self-contained package, entirely separate from texlive.infra.
diff --git a/Master/texmf-dist/scripts/texlive/tlmgr.pl b/Master/texmf-dist/scripts/texlive/tlmgr.pl
index cbb4e3d9478..ca38c68abf8 100755
--- a/Master/texmf-dist/scripts/texlive/tlmgr.pl
+++ b/Master/texmf-dist/scripts/texlive/tlmgr.pl
@@ -5458,14 +5458,15 @@ sub check_files {
sub check_runfiles {
my $Master = $localtlpdb->root;
- # build a list of all runtime files associated to 'normal' packages
- (my $non_normal = `ls "$Master/bin"`) =~ s/\n/\$|/g; # binaries
- $non_normal .= '^0+texlive|^bin-|^collection-|^scheme-|^texlive-|^texworks';
- $non_normal .= '|^pgf$'; # has lots of intentionally duplicated .lua
+ # build a list of all runtime files associated with normal packages.
+ (my $omit_pkgs = `ls "$Master/bin"`) =~ s/\n/\$|/g; # binaries
+ $omit_pkgs .= '^0+texlive|^bin-|^collection-|^scheme-|^texlive-|^texworks';
+ $omit_pkgs .= '|^pgf$'; # intentionally duplicated .lua
+ $omit_pkgs .= '|^latex-.*-dev$'; # intentionally duplicated base latex
my @runtime_files = ();
#
foreach my $tlpn ($localtlpdb->list_packages) {
- next if ($tlpn =~ /$non_normal/);
+ next if $tlpn =~ /$omit_pkgs/;
#
my $tlp = $localtlpdb->get_package($tlpn);
my @files = $tlp->runfiles;