aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-05-23 13:00:25 +0000
committerThierry Vignaud <tv@mandriva.org>2008-05-23 13:00:25 +0000
commit1ebaf16d934c43070c71504261973b22fec7b23d (patch)
tree4763f1eba20dcecd0bcba01e849b9b566e6ad9e6 /Rpmdrake
parent2eb69ad4048c3f7674598e012f1c8a22b361624a (diff)
downloadrpmdrake-1ebaf16d934c43070c71504261973b22fec7b23d.tar
rpmdrake-1ebaf16d934c43070c71504261973b22fec7b23d.tar.gz
rpmdrake-1ebaf16d934c43070c71504261973b22fec7b23d.tar.bz2
rpmdrake-1ebaf16d934c43070c71504261973b22fec7b23d.tar.xz
rpmdrake-1ebaf16d934c43070c71504261973b22fec7b23d.zip
(get_pkgs) simplify: we already computed the name
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/pkg.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/pkg.pm b/Rpmdrake/pkg.pm
index e3f2dc92..32c158a9 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -512,7 +512,7 @@ sub get_pkgs {
$selected = member($name, @requested_strict);
push @updates, $name;
}
- $all_pkgs{urpm_name($pkg)} = { selected => $selected, pkg => $pkg,
+ $all_pkgs{$name} = { selected => $selected, pkg => $pkg,
summary => $pkg->summary,
};
}