From 2115499188dc5fd75370ce389382ae51ef3eb5b6 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Sun, 7 Jan 2018 21:17:11 +0000 Subject: installer: support ChooseMedia in auto-install interactiveSteps. --- perl-install/install/any.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/perl-install/install/any.pm b/perl-install/install/any.pm index 8eb0d91a1..c2bc4c909 100644 --- a/perl-install/install/any.pm +++ b/perl-install/install/any.pm @@ -588,7 +588,7 @@ sub setPackages { $medium->{temp_enabled} = member($medium->{name}, @{$o->{enabled_media}}); } } - media_screen($o) if !$::auto_install && !$::o->{match_all_hardware}; + media_screen($o) if !$::auto_install || member('chooseMedia', @{$::o->{interactiveSteps}}); enable_choosen_media($o); my @choosen_media = map { $_->{name} } grep { !$_->{ignore} } @{$urpm->{media}}; log::l("choosen media: ", join(', ', @choosen_media)); -- cgit v1.2.1