aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-07 21:22:14 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-07 21:22:14 +0000
commit30471ac7a60c358578d6fc63d1ebce22baa0912c (patch)
treea55fe34ffa2e4a4f54c83cf52214a9fe14fba414 /Rpmdrake/pkg.pm
parentb276471734a5aa247418c0700e2eb827ed517e61 (diff)
downloadrpmdrake-30471ac7a60c358578d6fc63d1ebce22baa0912c.tar
rpmdrake-30471ac7a60c358578d6fc63d1ebce22baa0912c.tar.gz
rpmdrake-30471ac7a60c358578d6fc63d1ebce22baa0912c.tar.bz2
rpmdrake-30471ac7a60c358578d6fc63d1ebce22baa0912c.tar.xz
rpmdrake-30471ac7a60c358578d6fc63d1ebce22baa0912c.zip
(format_filesize) introduce it
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm3
1 files changed, 1 insertions, 2 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 0739c417..40e96d61 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -695,8 +695,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
: N("The following packages have to be removed for others to be upgraded:")), $r), if_($to_install, $to_install))
: $to_install),
format_size($size),
- $filesize ? N("%s of packages will be retrieved.", formatXiB($filesize))
- : (),
+ format_filesize($filesize),
N("Is it ok to continue?")),
scroll => 1,
yesno => 1) or return 1;