From 556694585bebcd2da59864b26dcc3d1717942956 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Tue, 10 Aug 2004 02:48:40 +0000 Subject: en_ZA locales are removed by hand, we also have to skip them from the rpm file list --- move/data/make_i18n_list | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'move') 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); -- cgit v1.2.1