diff options
author | Norbert Preining <preining@logic.at> | 2009-10-01 09:05:53 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2009-10-01 09:05:53 +0000 |
commit | 3088292eeea874f95ab2cbe7a4133931a4c1fbed (patch) | |
tree | 7deebc3f163c0c71552cdbde5a6970f8d996326c /Master | |
parent | 52dd4b22a5f086e3f93d5d69bf0743522124f00c (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-x | Master/texmf/scripts/texlive/tlmgr.pl | 3 |
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); |