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 58afe29a0..26bbe9f0b 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -343,6 +343,7 @@ sub media_screen {
# rpm -qa |grep tainted/non-free + check for kmod with firmwares
# - use red color in that case (gtk+ version? interactive::gtk version?)
# - present media as trees (eg 3 main branches (core/nonfree/tainted and sub medium below (release/updates/...)
+ # - use keywords (backports,testing,testing,sources) to blacklist
my %descriptions = (
'Core Release' => N("\"%s\" contains the various pieces of the systems and its applications", _core_medium()),
'Nonfree Release' => N("\"%s\" contains non free software.\n", _nonfree_medium()) .
@@ -366,7 +367,7 @@ sub media_screen {
disabled => sub { $medium->{name} eq 'Core Release' },
format => sub { $descriptions{$_[0]} || translate(%descriptions) },
};
- } grep { $_->{name} =~ /Release$|Updates$/ } @{$urpm->{media}},
+ } grep { $_->{name} !~ /Debug|Testing|Sources|Backports/ } @{$urpm->{media}},
]);