summaryrefslogtreecommitdiffstats
path: root/perl-install/install/any.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r--perl-install/install/any.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 82aaad4c9..4a4be81c2 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -371,10 +371,11 @@ sub media_screen {
my $name = $medium->{name};
my ($distribconf, $medium_path) = @{$_->{mediacfg}};
my @media_types = split(':', $distribconf->getvalue($medium_path, 'media_type'));
+ my $parent = $distribconf->getvalue($medium_path, 'updates_for');
intersection(\@media_types, [ qw(backports debug source testing) ]) ? () :
+{
val => \$medium->{temp_enabled}, type => 'bool', text => $name,
- help => $descriptions{$name},
+ help => $medium->{update} ? N("This medium provides package updates for medium \"%s\"", $parent) : $descriptions{$name},
# 'Core Release' cannot be unselected:
disabled => sub { $name eq 'Core Release' },
};