summaryrefslogtreecommitdiff
path: root/Master/tlpkg/bin/tlpsizes
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-05-11 23:39:35 +0000
committerKarl Berry <karl@freefriends.org>2013-05-11 23:39:35 +0000
commitff23b767abc786ac5279f6e85f5a83a143c055f5 (patch)
treef2fd709712b6064ab7f95700c9ffb9e612d1cf6c /Master/tlpkg/bin/tlpsizes
parent5af5e06dbed74dbf06e36afb02d3157d16342ddd (diff)
texmf-dist
git-svn-id: svn://tug.org/texlive/trunk@30411 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/tlpkg/bin/tlpsizes')
-rwxr-xr-xMaster/tlpkg/bin/tlpsizes2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/tlpkg/bin/tlpsizes b/Master/tlpkg/bin/tlpsizes
index b198168c01d..795e935cdd0 100755
--- a/Master/tlpkg/bin/tlpsizes
+++ b/Master/tlpkg/bin/tlpsizes
@@ -60,7 +60,6 @@ sub main {
$c_size{$name} = $pkg_sizes->{__TOTAL__};
delete $pkg_sizes->{"__TOTAL__"}; # don't need that any more
delete $pkg_sizes->{"hyph-utf8"} if $name =~ m/^collection-lang/;
- delete $pkg_sizes->{$name}; # always includes itself, with zero size
$c_pkgs{$name} = &pkgs_by_size (%$pkg_sizes);
@@ -86,6 +85,7 @@ sub pkgs_by_size {
for my $p (sort { $pkg_sizes{$b} <=> $pkg_sizes{$a} }
keys %pkg_sizes) {
+ next if $pkg_sizes{$p} == 0;
$ret .= " ";
$ret .= $pkg_sizes{$p} / 1024;
$ret .= "/$p";