aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/pkg.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-09-27 17:18:52 +0000
committerThierry Vignaud <tv@mageia.org>2012-09-27 17:18:52 +0000
commit0aaa6cc55802b0ccd0d923bdc862851fdcd41b65 (patch)
tree66f628e258eebb67a1c51271587f4d8ce8d51be2 /Rpmdrake/pkg.pm
parent1f9167357fc2ac2ec04a54e80851cf441d8255c9 (diff)
downloadrpmdrake-0aaa6cc55802b0ccd0d923bdc862851fdcd41b65.tar
rpmdrake-0aaa6cc55802b0ccd0d923bdc862851fdcd41b65.tar.gz
rpmdrake-0aaa6cc55802b0ccd0d923bdc862851fdcd41b65.tar.bz2
rpmdrake-0aaa6cc55802b0ccd0d923bdc862851fdcd41b65.tar.xz
rpmdrake-0aaa6cc55802b0ccd0d923bdc862851fdcd41b65.zip
do not store {selected} in memory if not needed
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 ac136116..3a474b65 100644
--- a/Rpmdrake/pkg.pm
+++ b/Rpmdrake/pkg.pm
@@ -353,7 +353,7 @@ sub get_installed_packages {
my $fullname = urpm_name($pkg);
return if $fullname =~ /@/;
$all_pkgs->{$fullname} = {
- selected => 0, pkg => $pkg, urpm_name => $fullname,
+ pkg => $pkg, urpm_name => $fullname,
} if !($all_pkgs->{$fullname} && $all_pkgs->{$fullname}{description});
if (my $name = $base{$fullname}) {
$all_pkgs->{$fullname}{base} = \$name;