diff options
author | Norbert Preining <preining@logic.at> | 2009-07-23 22:09:54 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-07-23 22:09:54 +0000 |
commit | b3fbe286e0b43f9781c4fd3279972ab5eceaae47 (patch) | |
tree | dca5e9ca78db348f908534fe48cf25bab0b6b33f /Master | |
parent | eb931f13902588cd0b5685bcb30ec14892945e4b (diff) |
implement showing dependencies for schemes and collections when calling
tlmgr show --list ...
git-svn-id: svn://tug.org/texlive/trunk@14414 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-x | Master/texmf/scripts/texlive/tlmgr.pl | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 07700581221..c3782e4b9de 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -836,6 +836,16 @@ sub action_show { print "Revision: ", $tlp->revision, "\n" if ($installed); print "Collection: ", @colls, "\n" if (@colls); if ($opts{"list"}) { + if ($tlp->category eq "Collection" || $tlp->category eq "Scheme") { + # in the case of collections of schemes we list the deps + my @deps = $tlp->depends; + if (@deps) { + print "Depends:\n"; + for my $d (@deps) { + print "\t$d\n"; + } + } + } print "Included files, by type:\n"; # if the package has a .ARCH dependency we also list the files for # those packages @@ -3787,8 +3797,10 @@ Shows information about I<pkg>: the name, category, installation status, short and long description. Searches in the remote installation source for the package if it is not locally installed. -If the option B<--list> is given the list of contained files is also -shown, including those for architecture specific dependencies. +If the option B<--list> is given, for the list of contained files is also +shown, including those for architecture specific dependencies. In addition +if a scheme of a collections is shown with B<--list> the dependencies +are listed, too. =head2 list [collections|schemes|I<pkg>...] |