diff options
Diffstat (limited to 'Master/tlpkg/TeXLive/TLPDB.pm')
-rw-r--r-- | Master/tlpkg/TeXLive/TLPDB.pm | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/Master/tlpkg/TeXLive/TLPDB.pm b/Master/tlpkg/TeXLive/TLPDB.pm index 5d4d146957b..cc426df6dcb 100644 --- a/Master/tlpkg/TeXLive/TLPDB.pm +++ b/Master/tlpkg/TeXLive/TLPDB.pm @@ -245,11 +245,11 @@ sub _generate_listfile { } elsif ($tlp->category eq "Scheme") { print TMP "*Title: ", $tlp->shortdesc, "\n"; my $s = 0; - # schemes size includes ONLY those packages which are directly - # included and direclty included files, not the size of the - # included collections. But if a package is included in one of - # the called for collections AND listed directly, we don't want - # to count its size two times + # schemes size includes ONLY those packages which are directly + # included and direclty included files, not the size of the + # included collections. But if a package is included in one of + # the called for collections AND listed directly, we don't want + # to count its size two times my (@inccol,@incpkg,@collpkg); # first we add all the packages tlps that are directly included @incpkg = @lop; @@ -265,11 +265,11 @@ sub _generate_listfile { } # finally go through all packages and add the ->total_size foreach my $p (@incpkg) { - if (!TeXLive::TLUtils::member($p,@collpkg)) { - $s += $self->get_package($p)->total_size; - } + if (!TeXLive::TLUtils::member($p,@collpkg)) { + $s += $self->get_package($p)->total_size; + } } - $s += $tlp->runsize + $tlp->srcsize + $tlp->docsize; + $s += $tlp->runsize + $tlp->srcsize + $tlp->docsize; print TMP "*Size: $s\n"; } # dependencies and inclusion of packages @@ -346,4 +346,4 @@ GNU General Public License Version 2 or later. ### tab-width: 2 ### indent-tabs-mode: nil ### End: -# vim:set tabstop=2: # +# vim:set tabstop=2 expandtab: # |