summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorOlivier Blin <oblin@mandriva.com>2008-09-18 14:50:36 +0000
committerOlivier Blin <oblin@mandriva.com>2008-09-18 14:50:36 +0000
commit5f381cb6890b3edac05397a82f8c3041ddb472e5 (patch)
tree957100f0f8504d7a53bc0d8dcce69a2df955599f /perl-install
parent07333b30830de204c54d4930b0cbfaf4378b5c2e (diff)
downloaddrakx-5f381cb6890b3edac05397a82f8c3041ddb472e5.tar
drakx-5f381cb6890b3edac05397a82f8c3041ddb472e5.tar.gz
drakx-5f381cb6890b3edac05397a82f8c3041ddb472e5.tar.bz2
drakx-5f381cb6890b3edac05397a82f8c3041ddb472e5.tar.xz
drakx-5f381cb6890b3edac05397a82f8c3041ddb472e5.zip
keep all settings (for next commit)
Diffstat (limited to 'perl-install')
-rw-r--r--perl-install/pkgs.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index 4596e94bc..d26640622 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -178,8 +178,9 @@ sub detect_network_drivers {
foreach my $type (network::connection->get_types) {
$type->can('get_thirdparty_settings') or next;
my @network_settings;
+ my @all_settings = @{$type->get_thirdparty_settings || []};
if ($o_match_all_hardware) {
- @network_settings = @{$type->get_thirdparty_settings || []};
+ @network_settings = @all_settings;
} else {
my @connections = $type->get_connections(automatic_only => 1, fast_only => 1);
@network_settings = map { @{$_->get_thirdparty_settings || []} } @connections;