summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-10-01 09:05:53 +0000
committerNorbert Preining <preining@logic.at>2009-10-01 09:05:53 +0000
commit3088292eeea874f95ab2cbe7a4133931a4c1fbed (patch)
tree7deebc3f163c0c71552cdbde5a6970f8d996326c /Master
parent52dd4b22a5f086e3f93d5d69bf0743522124f00c (diff)
show kilobyte in tlmgr install
git-svn-id: svn://tug.org/texlive/trunk@15582 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl3
1 files changed, 2 insertions, 1 deletions
diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl
index 8ccf00d07a9..48cbe655f19 100755
--- a/Master/texmf/scripts/texlive/tlmgr.pl
+++ b/Master/texmf/scripts/texlive/tlmgr.pl
@@ -2513,10 +2513,11 @@ sub action_install {
}
my ($estrem, $esttot) = TeXLive::TLUtils::time_estimate($totalsize,
$donesize, $starttime);
+ my $kb = int($sizes{$pkg} / 1024) + 1;
if ($::machinereadable) {
machine_line($pkg, $flag, "-", $revs{$pkg}, $sizes{$pkg}, $estrem, $esttot);
} else {
- info("[$currnr/$totalnr, $estrem/$esttot] ${re}install: $pkg\n");
+ info("[$currnr/$totalnr, $estrem/$esttot] ${re}install: $pkg [${kb}k]\n");
}
if (!$opts{"dry-run"}) {
$tlmediasrc->install_package($pkg, $localtlpdb);