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.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm
index 29fd8e1de..069ed5583 100644
--- a/perl-install/install/any.pm
+++ b/perl-install/install/any.pm
@@ -421,6 +421,7 @@ sub setPackages {
media_screen($o) if !$::auto_install;
my @choosen_media = map { $_->{name} } grep { !$_->{ignore} } @{$urpm->{media}};
log::l("choosen media: ", join(',', @choosen_media));
+ die "no choosen media" if !@choosen_media;
# actually read synthesis now we have all the ones we want:
require urpm::media;