aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm3
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;
});
}