summaryrefslogtreecommitdiff
path: root/Master/texmf
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-07-08 19:53:26 +0000
committerNorbert Preining <preining@logic.at>2009-07-08 19:53:26 +0000
commit5295931979c1ed28f473233308888be753dfbaa0 (patch)
tree82b3aa3045fdd0c502dd0cd0d470958c740dd461 /Master/texmf
parent2e2bb086995bdab0cf7a50606e3f660714183c26 (diff)
fix tlmgr show kpathsea giving too many packages
git-svn-id: svn://tug.org/texlive/trunk@14191 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl4
1 files changed, 4 insertions, 0 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 6e74e5b6e5a..cd01495709b 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -820,6 +820,10 @@ sub action_show {
@colls = $tlmediatlpdb->needed_by($pkg);
}
}
+ # some packages might depend on other packages, so do not
+ # include arbitrary package in the list of collections, but
+ # only collectons:
+ @colls = grep {m;^collection-;} @colls;
print "Package: ", $tlp->name, "\n";
print "Category: ", $tlp->category, "\n";
print "ShortDesc: ", $tlp->shortdesc, "\n" if ($tlp->shortdesc);