summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2001-04-12 12:58:01 +0000
committerPascal Rigaux <pixel@mandriva.com>2001-04-12 12:58:01 +0000
commit647de2efcb5b23f98b3caf5fd76d55451d8838e0 (patch)
treed0155ca603f5209f478500f12a022ea3211da7a0
parentcff8050054aee70878b9269d70fc924937c0b416 (diff)
downloaddrakx-backup-do-not-use-647de2efcb5b23f98b3caf5fd76d55451d8838e0.tar
drakx-backup-do-not-use-647de2efcb5b23f98b3caf5fd76d55451d8838e0.tar.gz
drakx-backup-do-not-use-647de2efcb5b23f98b3caf5fd76d55451d8838e0.tar.bz2
drakx-backup-do-not-use-647de2efcb5b23f98b3caf5fd76d55451d8838e0.tar.xz
drakx-backup-do-not-use-647de2efcb5b23f98b3caf5fd76d55451d8838e0.zip
(pack_langs): set RPM_INSTALL_LANG for package "menu"
-rw-r--r--perl-install/lang.pm4
1 files changed, 3 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 104b139c5..d784b077e 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -352,7 +352,9 @@ sub langsLANGUAGE {
sub pack_langs {
my ($l) = @_;
- $l->{all} ? 'all' : join ':', uniq(map { $languages{$_}[3] } langs($l));
+ my $s = $l->{all} ? 'all' : join ':', uniq(map { $languages{$_}[3] } langs($l));
+ $ENV{RPM_INSTALL_LANG} = $s;
+ $s;
}
sub write_langs {