diff options
author | Thierry Vignaud <tv@mandriva.org> | 2008-02-13 08:47:26 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mandriva.org> | 2008-02-13 08:47:26 +0000 |
commit | 3ec02867e9927107d0444f2cb2f87c706fd67550 (patch) | |
tree | 6209f4b6a70c8fe90e862634abd4b0987a8ed3eb /Rpmdrake/open_db.pm | |
parent | 837e4976cdacfbd2978f495c8403c6512e6109c8 (diff) | |
download | rpmdrake-3ec02867e9927107d0444f2cb2f87c706fd67550.tar rpmdrake-3ec02867e9927107d0444f2cb2f87c706fd67550.tar.gz rpmdrake-3ec02867e9927107d0444f2cb2f87c706fd67550.tar.bz2 rpmdrake-3ec02867e9927107d0444f2cb2f87c706fd67550.tar.xz rpmdrake-3ec02867e9927107d0444f2cb2f87c706fd67550.zip |
(get_pkgs,open_urpmi_db) ignore disabled backport media in rpmdrake too, not
just in MandrivaUpdate (#35009)
Diffstat (limited to 'Rpmdrake/open_db.pm')
-rw-r--r-- | Rpmdrake/open_db.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Rpmdrake/open_db.pm b/Rpmdrake/open_db.pm index e8ff717b..9f9e45fa 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 = $urpmi_options{update} ? undef : join(',', get_inactive_backport_media($urpm)); + my $searchmedia = 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; |