aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--NEWS1
-rw-r--r--Rpmdrake/open_db.pm6
2 files changed, 6 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index 7390e2cd..722dcd45 100644
--- a/NEWS
+++ b/NEWS
@@ -1,5 +1,6 @@
- MandrivaUpdate:
o fix width of title by workarounding Gtk+ (#48259)
+ o update all media on cooker instead of only update media
- rpmdrake:
o do not try to update & parse inactive sources backports media
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 22f77ba4..2c426a64 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -120,7 +120,11 @@ sub get_inactive_backport_media {
sub get_update_medias {
my ($urpm) = @_;
- grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};
+ if (is_it_a_devel_distro()) {
+ grep { !$_->{ignore} } @{$urpm->{media}};
+ } else {
+ grep { !$_->{ignore} && $_->{update} } @{$urpm->{media}};
+ }
}
sub open_urpmi_db {