aboutsummaryrefslogtreecommitdiffstats
path: root/rpmdrake.pm
diff options
context:
space:
mode:
authorGuillaume Cottenceau <gc@mandriva.com>2003-04-24 13:58:20 +0000
committerGuillaume Cottenceau <gc@mandriva.com>2003-04-24 13:58:20 +0000
commit0f78fd7b0f7aff70b56b6614ea412b6b71c83b98 (patch)
tree76191a1da046b81b32096991db4921a9e6be0bb5 /rpmdrake.pm
parent1a04b8bdedb40b1c534893717669b2ed31058079 (diff)
downloadrpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar
rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar.gz
rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar.bz2
rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.tar.xz
rpmdrake-0f78fd7b0f7aff70b56b6614ea412b6b71c83b98.zip
fix percent completed shown as "speed" in some situations, thx
David Walser
Diffstat (limited to 'rpmdrake.pm')
-rw-r--r--rpmdrake.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake.pm b/rpmdrake.pm
index 47c7ebb7..2d4e2452 100644
--- a/rpmdrake.pm
+++ b/rpmdrake.pm
@@ -362,7 +362,7 @@ sub show_urpm_progress {
$label->set_label(N("Download of `%s', time to go:%s, speed:%s", $file, $eta, $speed));
} else {
$pb->set_fraction($percent/100);
- $label->set_label(N("Download of `%s', speed:%s", $file, $percent, $speed));
+ $label->set_label(N("Download of `%s', speed:%s", $file, $speed));
}
} elsif ($mode eq 'done') {
$pb->set_fraction(1.0);