From 7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Mon, 23 Feb 2009 15:48:20 +0000 Subject: (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) --- Rpmdrake/open_db.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm index d7b3de40..98c8dd7a 100644 --- a/Rpmdrake/open_db.pm +++ b/Rpmdrake/open_db.pm @@ -101,7 +101,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 { -- cgit v1.2.1