diff options
-rw-r--r-- | perl-install/NEWS | 1 | ||||
-rw-r--r-- | perl-install/pkgs.pm | 4 |
2 files changed, 5 insertions, 0 deletions
diff --git a/perl-install/NEWS b/perl-install/NEWS index e50b63070..98f3c0a48 100644 --- a/perl-install/NEWS +++ b/perl-install/NEWS @@ -1,4 +1,5 @@ - task-kde3-minimal is dead, and there is now task-gnome-minimal +- do not remove important networking packages even if they seem unused (#49668) Version 13.29 - 24 May 2010 diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm index 88532592d..2866892ed 100644 --- a/perl-install/pkgs.pm +++ b/perl-install/pkgs.pm @@ -256,6 +256,10 @@ sub remove_unused_packages { my @unselected_locales = detect_unselected_locale_packages($do_pkgs); undef $wait; + # Packages to not remove even if they seem unused + my @wanted_hardware_packages = qw(gnome-bluetooth gnome-phone-manager kbluetooth kppp ppp wireless-tools wpa_supplicant); + @unused_hardware_packages = difference2(\@unused_hardware_packages, \@wanted_hardware_packages); + @unused_hardware_packages || @unselected_locales or return; my $hardware = @unused_hardware_packages; |