summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-05-11 12:13:52 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-05-11 12:13:52 +0000
commit052300b72e963cce46665f2620bc00d2383d184e (patch)
treeed98e5dc25a1fa77ebd32885aeb7ee4a0e9b982e
parent84b6081b91b04f26e816c48e4a109239004bd7e2 (diff)
downloaddrakx-052300b72e963cce46665f2620bc00d2383d184e.tar
drakx-052300b72e963cce46665f2620bc00d2383d184e.tar.gz
drakx-052300b72e963cce46665f2620bc00d2383d184e.tar.bz2
drakx-052300b72e963cce46665f2620bc00d2383d184e.tar.xz
drakx-052300b72e963cce46665f2620bc00d2383d184e.zip
don't ever remove locales-en when removing unused locales
It's used as the default locale on the flash
-rw-r--r--perl-install/pkgs.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/pkgs.pm b/perl-install/pkgs.pm
index ff1399261..2748537d6 100644
--- a/perl-install/pkgs.pm
+++ b/perl-install/pkgs.pm
@@ -242,7 +242,7 @@ sub detect_unselected_locale_packages {
my $locale = lang::read();
my $selected_locale = $locales_prefix . lang::locale_to_main_locale($locale->{lang});
my @available_locales = $do_pkgs->are_installed($locales_prefix . '*');
- member($selected_locale, @available_locales) ? difference2(\@available_locales, [ $selected_locale ]) : ();
+ member($selected_locale, @available_locales) ? difference2(\@available_locales, [ $selected_locale 'locales-en' ]) : ();
}
sub remove_unused_packages {