diff options
Diffstat (limited to 'perl-install')
-rw-r--r-- | perl-install/install/any.pm | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 2eb23195d..bf0393f6a 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -388,7 +388,8 @@ sub media_screen { my ($distribconf, $medium_path) = @{$_->{mediacfg}}; my @media_types = split(':', $distribconf->getvalue($medium_path, 'media_type')); my $parent = $distribconf->getvalue($distribconf->getvalue($medium_path, 'updates_for'), 'name'); - intersection(\@media_types, [ qw(backports debug source testing) ]) ? () : + my $non_regular_medium = intersection(\@media_types, [ qw(backports debug source testing) ]); + $non_regular_medium ? () : +{ val => \$medium->{temp_enabled}, type => 'bool', text => $name, help => $medium->{update} ? N("This medium provides package updates for medium \"%s\"", $parent) : $descriptions{$name}, |