diff options
author | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-23 01:11:34 +0000 |
---|---|---|
committer | Rafael Garcia-Suarez <rgarciasuarez@mandriva.org> | 2004-08-23 01:11:34 +0000 |
commit | dc89b048eb07a302f3d21fbc66470fcf9ac29649 (patch) | |
tree | 7b00033542ce5928b3835c4d8243160979181383 | |
parent | c42b477339970b2076702e4133238b295c019008 (diff) | |
download | rpmdrake-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-x | rpmdrake | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) = @_; |