From 62d68e2e58c833c3912c4186d5117d14b1bb6f6b Mon Sep 17 00:00:00 2001 From: Rafael Garcia-Suarez Date: Fri, 11 Feb 2005 15:25:51 +0000 Subject: Don't use the RPM_LANG_INSTALL environment variable anymore --- perl-install/lang.pm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'perl-install/lang.pm') 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; } -- cgit v1.2.1