diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-09-10 09:50:03 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-09-10 09:50:03 +0000 |
commit | d552c3b4a606b8476021df6264ce42508d385bae (patch) | |
tree | 1d4d2aff290b929446a7e0d04e2e9696508dd2f9 /Rpmdrake | |
parent | 1d6d971cea932462c5594b0b5d057cdbfbf2081e (diff) | |
download | rpmdrake-d552c3b4a606b8476021df6264ce42508d385bae.tar rpmdrake-d552c3b4a606b8476021df6264ce42508d385bae.tar.gz rpmdrake-d552c3b4a606b8476021df6264ce42508d385bae.tar.bz2 rpmdrake-d552c3b4a606b8476021df6264ce42508d385bae.tar.xz rpmdrake-d552c3b4a606b8476021df6264ce42508d385bae.zip |
(get_installed_packages) use a local variable (needed for next commit)
Diffstat (limited to 'Rpmdrake')
-rw-r--r-- | Rpmdrake/pkg.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm index 66705fa5..476b4477 100644 --- a/Rpmdrake/pkg.pm +++ b/Rpmdrake/pkg.pm @@ -313,7 +313,8 @@ sub get_installed_packages { exists $basepackages{$_} and next; $db->traverse_tag(m|^/| ? 'path' : 'whatprovides', [ $_ ], sub { update_pbar($gurpm); - push @{$basepackages{$_}}, urpm_name($_[0]); + my $name = urpm_name($_[0]); + push @{$basepackages{$_}}, $name; push @base, $_[0]->requires_nosense; }); } |