aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-02-15 19:31:33 +0000
committerThierry Vignaud <tv@mageia.org>2012-02-15 19:31:33 +0000
commite948a8c125fcdedd7f126d24ee499a6edd316574 (patch)
tree6b49f895b527b2659b2119c8f4ff893c66fbe0ee /Rpmdrake/pkg.pm
parent09a50476dcba36057e7ee36927ae7429d6997461 (diff)
downloadrpmdrake-e948a8c125fcdedd7f126d24ee499a6edd316574.tar
rpmdrake-e948a8c125fcdedd7f126d24ee499a6edd316574.tar.gz
rpmdrake-e948a8c125fcdedd7f126d24ee499a6edd316574.tar.bz2
rpmdrake-e948a8c125fcdedd7f126d24ee499a6edd316574.tar.xz
rpmdrake-e948a8c125fcdedd7f126d24ee499a6edd316574.zip
(get_pkgs) save an call
Diffstat (limited to 'Rpmdrake/pkg.pm')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index 32811092..9edccd86 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -500,7 +500,7 @@ sub get_pkgs {
foreach my $pkg (@{$urpm->{depslist}}) {
update_pbar($gurpm);
$pkg->flag_upgrade or next;
- my $name = urpm_name($pkg);
+ my $name = $pkg->fullname;
push @installable_pkgs, $name;
$all_pkgs{$name} = { pkg => $pkg };
}