diff options
-rw-r--r-- | perl-install/install/any.pm | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index b674b81d8..037474a21 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -368,10 +368,11 @@ sub media_screen { map { my $medium = $_; $medium->{temp_enabled} = !$medium->{ignore}; + my $name = $medium->{name}; +{ - val => \$medium->{temp_enabled}, type => 'bool', text => $medium->{name}, + val => \$medium->{temp_enabled}, type => 'bool', text => $name, # 'Core Release' cannot be unselected: - disabled => sub { $medium->{name} eq 'Core Release' }, + disabled => sub { $name eq 'Core Release' }, }; } grep { my ($distribconf, $medium_path) = @{$_->{mediacfg}}; |