summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNorbert Preining <preining@logic.at>2009-08-29 08:24:52 +0000
committerNorbert Preining <preining@logic.at>2009-08-29 08:24:52 +0000
commitf1043fcde2aae34e1abd7db4f2db1b5a9c6bd0a7 (patch)
treeec19a5557fb2c3b9934e65b0e3eb65508aab2d0f
parent0b738daa306616c49175c769f50639d18709674f (diff)
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
-rwxr-xr-xMaster/texmf/scripts/texlive/tlmgr.pl10
1 files changed, 5 insertions, 5 deletions
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: <absent>, source: " . $mediatlp->revision . " (auto-install)\n");
+ info("$pkg [${kb}k]: local: <absent>, 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++;