summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Terjan <pterjan@mandriva.org>2010-05-26 09:23:39 +0000
committerPascal Terjan <pterjan@mandriva.org>2010-05-26 09:23:39 +0000
commitd4164c62fbf9838e11b396d0b2778dfb4a7e5a08 (patch)
treeb4be507c74c1e13234ae5cc2a83662c3e580bc9c
parenta472070a5d1568f2a126535b3aebbeaf0d9784a2 (diff)
downloaddrakx-d4164c62fbf9838e11b396d0b2778dfb4a7e5a08.tar
drakx-d4164c62fbf9838e11b396d0b2778dfb4a7e5a08.tar.gz
drakx-d4164c62fbf9838e11b396d0b2778dfb4a7e5a08.tar.bz2
drakx-d4164c62fbf9838e11b396d0b2778dfb4a7e5a08.tar.xz
drakx-d4164c62fbf9838e11b396d0b2778dfb4a7e5a08.zip
do not remove important networking packages even if they seem unused (#49668)
-rw-r--r--perl-install/NEWS1
-rw-r--r--perl-install/pkgs.pm4
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;