summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/attachments/20110915/e36848de/attachment-0003.obj
blob: 3c2667004628618710ccb6135b14205297be7f64 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
(open_urpmi_db) when computing updates, look at enabled */release media for requires

--- /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/open_db.pm.tv8	2011-09-15 13:21:31.996304467 +0000
+++ /usr/lib/perl5/vendor_perl/5.12.3/Rpmdrake/open_db.pm	2011-09-15 13:24:12.932431234 +0000
@@ -150,7 +164,7 @@
     my $urpm = fast_open_urpmi_db();
     my $media = ref $::rpmdrake_options{media} ? join(',', @{$::rpmdrake_options{media}}) : '';
 
-    my $searchmedia = $urpmi_options{update} ? undef : join(',', get_inactive_backport_media($urpm));
+    my $searchmedia = $urpmi_options{update} ? undef : join(',', get_inactive_backport_media($urpm), get_active_release_media($urpm));
     $urpm->{lock} = urpm::lock::urpmi_db($urpm, undef, wait => $urpm->{options}{wait_lock}) if !$::env;
     my $previous = $::rpmdrake_options{'previous-priority-upgrade'};
     urpm::select::set_priority_upgrade_option($urpm, (ref $previous ? join(',', @$previous) : ()));