summaryrefslogtreecommitdiffstats
path: root/perl-install/install
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/install')
-rw-r--r--perl-install/install/any.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 4a4be81c2..861b49f78 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -377,7 +377,7 @@ sub media_screen {
val => \$medium->{temp_enabled}, type => 'bool', text => $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' },
+ disabled => sub { $name =~ /^(?:Core|Main) Release$/ },
};
} @{$urpm->{media}},
]);