summaryrefslogtreecommitdiffstats
path: root/move/data
diff options
context:
space:
mode:
Diffstat (limited to 'move/data')
-rwxr-xr-xmove/data/make_i18n_list3
1 files changed, 2 insertions, 1 deletions
diff --git a/move/data/make_i18n_list b/move/data/make_i18n_list
index 33c77f26d..df53d39fb 100755
--- a/move/data/make_i18n_list
+++ b/move/data/make_i18n_list
@@ -31,7 +31,8 @@ foreach my $i18n (@pkg_langs) {
my @pkgs = uniq("locales-$i18n", chomp_(`$rpm -q --qf "%{name}\n" --whatrequires locales-$i18n`));
push @pkgs, split(' ', $extra_pkgs{$i18n} || '');
- my ($dirs, $files) = partition { -d "$prefix$_" } uniq(chomp_(`$rpm -ql @pkgs`));
+ my @l = grep { !m!^/usr/share/locale/en_ZA! } uniq(chomp_(`$rpm -ql @pkgs`));
+ my ($dirs, $files) = partition { -d "$prefix$_" } @l;
my @i18n_dirs = uniq(grep { m!/($i18n_re) (_[^/]*)? (\.[^/]*)? (\@[^/]*)?$!x } @$dirs);
my $i18n_dirs_re = join('|', map { quotemeta $_ } @i18n_dirs);