diff options
-rw-r--r-- | perl-install/install/any.pm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index f6a106553..c6a226e7e 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -420,7 +420,6 @@ Is a firmware needed by some HW? sub is_firmware_needed { my ($o) = @_; - return 0 if $::o->{match_all_hardware}; state $res; $res = is_firmware_needed_($o) if !defined $res; $res; @@ -577,7 +576,7 @@ sub setPackages { } install::pkgs::start_pushing_error(); - media_screen($o) if !$::auto_install; + media_screen($o) if !$::auto_install && !$::o->{match_all_hardware}; my @choosen_media = map { $_->{name} } grep { !$_->{ignore} } @{$urpm->{media}}; log::l("choosen media: ", join(', ', @choosen_media)); die "no choosen media" if !@choosen_media; |