From f1043fcde2aae34e1abd7db4f2db1b5a9c6bd0a7 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 29 Aug 2009 08:24:52 +0000 Subject: use NNNk instead of NNNKB, make [] around size like in install-tl, add 1 in all places to the kb size git-svn-id: svn://tug.org/texlive/trunk@14938 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf/scripts/texlive/tlmgr.pl | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Master/texmf/scripts') diff --git a/Master/texmf/scripts/texlive/tlmgr.pl b/Master/texmf/scripts/texlive/tlmgr.pl index 7f681fa3e97..c711c4380a4 100755 --- a/Master/texmf/scripts/texlive/tlmgr.pl +++ b/Master/texmf/scripts/texlive/tlmgr.pl @@ -1965,9 +1965,9 @@ sub action_update { } else { my $kb = int($sizes{$pkg} / 1024) + 1; if ($opts{"list"}) { - info("$pkg (${kb}KB): local: , source: " . $mediatlp->revision . " (auto-install)\n"); + info("$pkg [${kb}k]: local: , source: " . $mediatlp->revision . " (auto-install)\n"); } else { - info("[$currnr/$totalnr, $estrem/$esttot] auto-install: $pkg (${kb}KB)\n"); + info("[$currnr/$totalnr, $estrem/$esttot] auto-install: $pkg [${kb}k]\n"); } } $currnr++; @@ -2025,7 +2025,7 @@ sub action_update { machine_line($pkg, $FLAG_UPDATE, $rev, $mediarev, $sizes{$pkg}); } else { my $kb = int($sizes{$pkg} / 1024) + 1; - info("$pkg (${kb}KB): local: $rev, source: $mediarev (update)\n"); + info("$pkg [${kb}k]: local: $rev, source: $mediarev (update)\n"); } $updated{$pkg} = 1; next; @@ -2058,8 +2058,8 @@ sub action_update { if ($::machinereadable) { machine_line($pkg, $FLAG_UPDATE, $rev, $mediarev, $sizes{$pkg}, $estrem, $esttot); } else { - my $kb = int ($sizes{$pkg} / 1024); - info("[$currnr/$totalnr, $estrem/$esttot] update: $pkg (${kb}KB) ($rev -> $mediarev)"); + my $kb = int ($sizes{$pkg} / 1024) + 1; + info("[$currnr/$totalnr, $estrem/$esttot] update: $pkg [${kb}k] ($rev -> $mediarev)"); } $donesize += $sizes{$pkg}; $currnr++; -- cgit v1.2.3