aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2006-09-11 11:43:22 +0000
committerThierry Vignaud <tv@mandriva.org>2006-09-11 11:43:22 +0000
commit4aa30fa6f663d75470b5d2c324d8bd455cd1aabe (patch)
tree645690c28eddc9806f3dc671805cc8c3c9a45884
parent4272124a502463fbf4485e9406689b4b4b57eb50 (diff)
downloadrpmdrake-4aa30fa6f663d75470b5d2c324d8bd455cd1aabe.tar
rpmdrake-4aa30fa6f663d75470b5d2c324d8bd455cd1aabe.tar.gz
rpmdrake-4aa30fa6f663d75470b5d2c324d8bd455cd1aabe.tar.bz2
rpmdrake-4aa30fa6f663d75470b5d2c324d8bd455cd1aabe.tar.xz
rpmdrake-4aa30fa6f663d75470b5d2c324d8bd455cd1aabe.zip
display select size in b, kb, mb, ... instead of just mb (thus letting to
0Mb for small selection)
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index b15d1343..0b9750c2 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -968,7 +968,7 @@ or you already installed all of them."));
}, #- toggle_nodes
get_status => sub {
$MODE eq 'install'
- ? N("Selected: %d MB / Free disk space: %d MB", $size_selected/(1024*1024), $size_free/1024)
+ ? N("Selected: %s / Free disk space: %d MB", formatXiB($size_selected), formatXiB($size_free, 1024*1024))
: N("Selected size: %d MB", $size_selected/(1024*1024));
},
get_info => sub {