diff options
author | Thierry Vignaud <tv@mageia.org> | 2012-12-10 14:07:01 +0000 |
---|---|---|
committer | Thierry Vignaud <tv@mageia.org> | 2012-12-10 14:07:01 +0000 |
commit | 776ef82d5407cd1ba6e3b1ba52e81a0c6472dd2f (patch) | |
tree | edafbb5f608e750e45ad60a99ca846b6a3d382dc /perl-install/install/any.pm | |
parent | 86923e25769200fc73586e574c3580a646294ede (diff) | |
download | drakx-776ef82d5407cd1ba6e3b1ba52e81a0c6472dd2f.tar drakx-776ef82d5407cd1ba6e3b1ba52e81a0c6472dd2f.tar.gz drakx-776ef82d5407cd1ba6e3b1ba52e81a0c6472dd2f.tar.bz2 drakx-776ef82d5407cd1ba6e3b1ba52e81a0c6472dd2f.tar.xz drakx-776ef82d5407cd1ba6e3b1ba52e81a0c6472dd2f.zip |
(media_screen) no media is a critical error
Diffstat (limited to 'perl-install/install/any.pm')
-rw-r--r-- | perl-install/install/any.pm | 1 |
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; |