summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-11 15:25:51 +0000
committerRafael Garcia-Suarez <rgarciasuarez@mandriva.org>2005-02-11 15:25:51 +0000
commit62d68e2e58c833c3912c4186d5117d14b1bb6f6b (patch)
treecdeff79ab3407c85ad27c152d346bd78f3cba1a6 /perl-install/lang.pm
parent8a9263dc9194bc1dca918aa87c2ee539de9e9aff (diff)
downloaddrakx-62d68e2e58c833c3912c4186d5117d14b1bb6f6b.tar
drakx-62d68e2e58c833c3912c4186d5117d14b1bb6f6b.tar.gz
drakx-62d68e2e58c833c3912c4186d5117d14b1bb6f6b.tar.bz2
drakx-62d68e2e58c833c3912c4186d5117d14b1bb6f6b.tar.xz
drakx-62d68e2e58c833c3912c4186d5117d14b1bb6f6b.zip
Don't use the RPM_LANG_INSTALL environment variable anymore
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index f9c5623ff..a15914837 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -4,6 +4,7 @@ use diagnostics;
use strict;
use common;
use log;
+use URPM;
#- key: lang name (locale name for some (~5) special cases needing
#- extra distinctions)
@@ -918,7 +919,7 @@ sub utf8_should_be_needed {
sub pack_langs {
my ($l) = @_;
my $s = $l->{all} ? 'all' : join ':', uniq(map { getLANGUAGE($_) } langs($l));
- $ENV{RPM_INSTALL_LANG} = $s;
+ URPM::add_macro("_install_langs $s");
$s;
}