From 7f6aded9b5cdc42487e2b2276fb657825f8e4d10 Mon Sep 17 00:00:00 2001 From: Thierry Vignaud Date: Thu, 30 May 2013 06:29:05 +0000 Subject: revert fix for mga#10254 in previous release (mga#10335) the bug was actually in media.cfg basically reverting commit r8361 on 2013-05-24 (was: "fix wrongly enabling backports/testing for tainted/nonfree (mga#10254)") --- urpm/media.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'urpm') diff --git a/urpm/media.pm b/urpm/media.pm index d85567d8..681701e4 100644 --- a/urpm/media.pm +++ b/urpm/media.pm @@ -779,7 +779,7 @@ sub needed_extra_media { sub is_media_to_add_by_default { my ($urpm, $distribconf, $medium, $product_id, $nonfree, $tainted) = @_; my $add_by_default = !$distribconf->getvalue($medium, 'noauto'); - my @media_types = split(':', $distribconf->getvalue($medium, 'media_types')); + my @media_types = split(':', $distribconf->getvalue($medium, 'media_type')); return $add_by_default if !@media_types; if ($product_id->{product} eq 'Free') { if (member('non-free', @media_types)) { -- cgit v1.2.1