aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake
diff options
context:
space:
mode:
Diffstat (limited to 'Rpmdrake')
-rw-r--r--Rpmdrake/open_db.pm6
1 files changed, 5 insertions, 1 deletions
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 {