summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
Diffstat (limited to 'perl-install/lang.pm')
-rw-r--r--perl-install/lang.pm3
1 files changed, 3 insertions, 0 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index c049af690..4ac897da2 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1008,6 +1008,9 @@ sub write {
}
setVarsInSh($prefix . ($b_user_only ? "$ENV{HOME}/.i18n" : '/etc/sysconfig/i18n'), $h);
+ substInFile {
+ s!^function lang\b.*!function lang()="$h->{LANG}"!g;
+ } "/etc/menu-methods/lang.h";
eval {
my $confdir = $prefix . ($b_user_only ? "$ENV{HOME}/.kde" : '/usr') . '/share/config';