summaryrefslogtreecommitdiffstats
path: root/perl-install/pkgs.pm
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@mandriva.com>2010-05-11 12:14:28 +0000
committerChristophe Fergeau <cfergeau@mandriva.com>2010-05-11 12:14:28 +0000
commitc8e65cc680a8979ac7728b5fcc2f1c66cefe73bf (patch)
tree51589f71f089f6895290bfe8f8f1c32c66f41ceb /perl-install/pkgs.pm
parent26a7ac98ade358381bdc6d0fe6be8cca27942a00 (diff)
downloaddrakx-c8e65cc680a8979ac7728b5fcc2f1c66cefe73bf.tar
drakx-c8e65cc680a8979ac7728b5fcc2f1c66cefe73bf.tar.gz
drakx-c8e65cc680a8979ac7728b5fcc2f1c66cefe73bf.tar.bz2
drakx-c8e65cc680a8979ac7728b5fcc2f1c66cefe73bf.tar.xz
drakx-c8e65cc680a8979ac7728b5fcc2f1c66cefe73bf.zip
Revert "don't ever remove locales-en when removing unused locales"
Diffstat (limited to 'perl-install/pkgs.pm')
-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 2748537d6..ff1399261 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 'locales-en' ]) : ();
+ member($selected_locale, @available_locales) ? difference2(\@available_locales, [ $selected_locale ]) : ();
}
sub remove_unused_packages {