summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--perl-install/lang.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/perl-install/lang.pm b/perl-install/lang.pm
index 4ac897da2..a6d76e067 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -1010,7 +1010,7 @@ 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";
+ } "$::prefix/etc/menu-methods/lang.h";
eval {
my $confdir = $prefix . ($b_user_only ? "$ENV{HOME}/.kde" : '/usr') . '/share/config';