summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2008-12-01 10:53:19 +0000
committerNorbert Preining <preining@logic.at>2008-12-01 10:53:19 +0000
commit61d8e28a3ba900559f514aa8a76735614927b66e (patch)
tree218a17f988850cdc0b34adc9d028319107446054
parent91900f79cc1dd5c01cf05f3f7e26178e7a2bee7d (diff)
add container sizes for doc and src to computation
git-svn-id: svn://tug.org/texlive/trunk@11492 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Master/tlpkg/TeXLive/TLUtils.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/Master/tlpkg/TeXLive/TLUtils.pm b/Master/tlpkg/TeXLive/TLUtils.pm
index 9e4f80dd3e9..55deb9c50dd 100644
--- a/Master/tlpkg/TeXLive/TLUtils.pm
+++ b/Master/tlpkg/TeXLive/TLUtils.pm
@@ -837,6 +837,8 @@ sub install_packages {
# we use the container size as the measuring unit since probably
# downloading will be the limiting factor
$tlpsizes{$p} = $tlpobjs{$p}->containersize;
+ $tlpsizes{$p} += $tlpobjs{$p}->srccontainersize if $opt_src;
+ $tlpsizes{$p} += $tlpobjs{$p}->doccontainersize if $opt_doc;
} else {
# we have to add the respective sizes, that is checking for
# installation of src and doc file