summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}