aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-23 01:11:34 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2004-08-23 01:11:34 +0000
commitdc89b048eb07a302f3d21fbc66470fcf9ac29649 (patch)
tree7b00033542ce5928b3835c4d8243160979181383
parentc42b477339970b2076702e4133238b295c019008 (diff)
downloadrpmdrake-dc89b048eb07a302f3d21fbc66470fcf9ac29649.tar
rpmdrake-dc89b048eb07a302f3d21fbc66470fcf9ac29649.tar.gz
rpmdrake-dc89b048eb07a302f3d21fbc66470fcf9ac29649.tar.bz2
rpmdrake-dc89b048eb07a302f3d21fbc66470fcf9ac29649.tar.xz
rpmdrake-dc89b048eb07a302f3d21fbc66470fcf9ac29649.zip
Fix bug #10879, introduced by a perl_checker cleanup.
-rwxr-xr-xrpmdrake2
1 files changed, 1 insertions, 1 deletions
diff --git a/rpmdrake b/rpmdrake
index 44c2e404..60957d22 100755
--- a/rpmdrake
+++ b/rpmdrake
@@ -1348,7 +1348,7 @@ sub perform_installation { #- (partially) duplicated from /usr/sbin/urpmi :-(
goto return_with_error;
}
my $progress_nb;
- my $total_nb = find { m|^/| } @rpms_install, @rpms_upgrade;
+ my $total_nb = scalar grep { m|^/| } @rpms_install, @rpms_upgrade;
my $something_installed;
my $callback_inst = sub {
my ($urpm, $type, $id, $subtype, $amount, $total) = @_;