diff options
author | Thierry Vignaud <tv@mandriva.org> | 2009-02-23 15:48:20 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2009-02-23 15:48:20 +0000 |
commit | 7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285 (patch) | |
tree | 18ce6cd03507198905878850b709a7a955f4f23b | |
parent | 102fcf1910918d0acc1c18315c2c624b8fb59f42 (diff) | |
download | rpmdrake-7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285.tar rpmdrake-7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285.tar.gz rpmdrake-7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285.tar.bz2 rpmdrake-7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285.tar.xz rpmdrake-7f0cf8fdf74abd1ef56f430f40082bbc0ffe8285.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)
-rw-r--r-- | Rpmdrake/open_db.pm | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |