aboutsummaryrefslogtreecommitdiffstats
path: root/Rpmdrake/open_db.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tv@mageia.org>2012-03-26 18:21:38 +0000
committerThierry Vignaud <tv@mageia.org>2012-03-26 18:21:38 +0000
commit584e87663263b850c4a35247a762da1bf31cd90f (patch)
tree45480e4d21770ab34e28eec9deec50c658ae3f6c /Rpmdrake/open_db.pm
parentf3f66a027365956353355a9dd81aa0932c8840b5 (diff)
downloadrpmdrake-584e87663263b850c4a35247a762da1bf31cd90f.tar
rpmdrake-584e87663263b850c4a35247a762da1bf31cd90f.tar.gz
rpmdrake-584e87663263b850c4a35247a762da1bf31cd90f.tar.bz2
rpmdrake-584e87663263b850c4a35247a762da1bf31cd90f.tar.xz
rpmdrake-584e87663263b850c4a35247a762da1bf31cd90f.zip
(get_pkgs,get_updates_list) fix offering of updates from media not configured as update ones
(inspirated by mdv)
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r--Rpmdrake/open_db.pm1
1 files changed, 0 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm
index cd52e042..86b95be1 100644
--- a/Rpmdrake/open_db.pm
+++ b/Rpmdrake/open_db.pm
@@ -150,7 +150,6 @@ sub open_urpmi_db {
my $urpm = fast_open_urpmi_db();
my $media = ref $::rpmdrake_options{media} ? join(',', @{$::rpmdrake_options{media}}) : '';
- # FIXME: this is bogus and pulls backports as updates:
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}) if !$::env;
my $previous = $::rpmdrake_options{'previous-priority-upgrade'};