aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2009-03-19 14:41:36 +0000
committerThierry Vignaud <tv@mandriva.org>2009-03-19 14:41:36 +0000
commit264c72a75ab134d15bc80bd40d4ea1691bc7fa94 (patch)
tree6336c967883ec9c88aa7de6304cc1efb66cd998a
parent8fd3a3fe1939a1ecc9a1e413508de663806c4752 (diff)
downloadrpmdrake-264c72a75ab134d15bc80bd40d4ea1691bc7fa94.tar
rpmdrake-264c72a75ab134d15bc80bd40d4ea1691bc7fa94.tar.gz
rpmdrake-264c72a75ab134d15bc80bd40d4ea1691bc7fa94.tar.bz2
rpmdrake-264c72a75ab134d15bc80bd40d4ea1691bc7fa94.tar.xz
rpmdrake-264c72a75ab134d15bc80bd40d4ea1691bc7fa94.zip
(get_inactive_backport_media) do not try to update & parse inactive sources backports media
-rw-r--r--NEWS3
-rw-r--r--Rpmdrake/open_db.pm2
2 files changed, 4 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 26356e39..0396cf71 100644
--- a/NEWS
+++ b/NEWS
@@ -1,3 +1,6 @@
+- rpmdrake:
+ o do not try to update & parse inactive sources backports media
+
Version 5.10 - 17 March 2009, Thierry Vignaud
- MandrivaUpdate:
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 110a9ca3..4010b048 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 && $_->{name} !~ /debug/i } @{$urpm->{media}};
+ map { $_->{name} } grep { $_->{ignore} && $_->{name} =~ /backport/i && $_->{name} !~ /debug|sources/i } @{$urpm->{media}};
}
sub open_urpmi_db {