aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/open_db.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mandriva.org>2008-02-13 16:08:30 +0000
committerThierry Vignaud <tv@mandriva.org>2008-02-13 16:08:30 +0000
commit77d1f4bee4ba0a3898eaf08a157cca3c1c251a78 (patch)
treee38ad0df889a3a0540a0f391b4e698d15ffad25d /Rpmdrake/open_db.pm
parent47dadf09019d36081268e08e66f9634ddd1ff8d6 (diff)
downloadrpmdrake-77d1f4bee4ba0a3898eaf08a157cca3c1c251a78.tar
rpmdrake-77d1f4bee4ba0a3898eaf08a157cca3c1c251a78.tar.gz
rpmdrake-77d1f4bee4ba0a3898eaf08a157cca3c1c251a78.tar.bz2
rpmdrake-77d1f4bee4ba0a3898eaf08a157cca3c1c251a78.tar.xz
rpmdrake-77d1f4bee4ba0a3898eaf08a157cca3c1c251a78.zip
revert r166945 from today ("- ignore disabled backport media in rpmdrake too,
not just in MandrivaUpdate (#35009)") since it's broken
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r--Rpmdrake/open_db.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index 9f9e45fa..e8ff717b 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -95,7 +95,7 @@ sub open_urpmi_db {
my $urpm = fast_open_urpmi_db();
my $media = ref $::rpmdrake_options{media} ? join(',', @{$::rpmdrake_options{media}}) : '';
- my $searchmedia = join(',', get_inactive_backport_media($urpm));
+ my $searchmedia = $urpmi_options{update} ? undef : join(',', get_inactive_backport_media($urpm));
$urpm->{lock} = urpm::lock::urpmi_db($urpm, undef, wait => $urpm->{options}{wait_lock});
urpm::media::configure($urpm, media => $media, if_($searchmedia, searchmedia => $searchmedia), %urpmi_options);
$urpm;