From acefc5db3e7bd3957f555bd3e300db17c0b815da Mon Sep 17 00:00:00 2001 From: Olivier Blin Date: Thu, 18 Sep 2008 14:52:28 +0000 Subject: fix network packages detection --- perl-install/NEWS | 2 ++ perl-install/pkgs.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'perl-install') diff --git a/perl-install/NEWS b/perl-install/NEWS index cc2622c7d..c189d6cbf 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -3,6 +3,8 @@ "Change partition type" dialog in expert mode due to ellipsizing - harddrake2: o detect network and graphical driver packages too +- harddrake2 / remove-unused-packages: + o fix network packages detection - list btusb instead of hci_usb in bus/bluetooth (renamed in 2.6.27) Version 11.46 - 17 September 2008 diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index d26640622..3d1a959aa 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -183,7 +183,7 @@ sub detect_network_drivers { @network_settings = @all_settings; } else { my @connections = $type->get_connections(automatic_only => 1, fast_only => 1); - @network_settings = map { @{$_->get_thirdparty_settings || []} } @connections; + @network_settings = map { network::thirdparty::find_settings(\@all_settings, $_->get_driver) } @connections; } foreach my $settings (@network_settings) { foreach (@network::thirdparty::thirdparty_types) { -- cgit v1.2.1