aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/open_db.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-02-23 15:48:07 +0000
committerThierry Vignaud <tv@mandriva.org>2009-02-23 15:48:07 +0000
commit9c1ecfef1df954b3d0e4c4604c38cf06d6214b10 (patch)
treea4e35a0e75c1c403faf1f404c22f8e5379bbdec1 /Rpmdrake/open_db.pm
parent3a86fd37711bd6ebce7d4470082702c4a73ba869 (diff)
downloadrpmdrake-9c1ecfef1df954b3d0e4c4604c38cf06d6214b10.tar
rpmdrake-9c1ecfef1df954b3d0e4c4604c38cf06d6214b10.tar.gz
rpmdrake-9c1ecfef1df954b3d0e4c4604c38cf06d6214b10.tar.bz2
rpmdrake-9c1ecfef1df954b3d0e4c4604c38cf06d6214b10.tar.xz
rpmdrake-9c1ecfef1df954b3d0e4c4604c38cf06d6214b10.zip
(get_inactive_backport_media) do not try to update & parse inactive debug
backports media (slightly reduce memory usage -- 464kb on current 2009.0 media config)
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r--Rpmdrake/open_db.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 590be843..110a9ca3 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -108,7 +108,7 @@ sub fast_open_urpmi_db() {
sub get_inactive_backport_media {
my ($urpm) = @_;
- map { $_->{name} } grep { $_->{ignore} && $_->{name} =~ /backport/i } @{$urpm->{media}};
+ map { $_->{name} } grep { $_->{ignore} && $_->{name} =~ /backport/i && $_->{name} !~ /debug/i } @{$urpm->{media}};
}
sub open_urpmi_db {