summaryrefslogtreecommitdiffstats
path: root/perl-install/lang.pm
diff options
context:
space:
mode:
authorThierry Vignaud <tvignaud@mandriva.org>2004-07-02 03:03:22 +0000
committerThierry Vignaud <tvignaud@mandriva.org>2004-07-02 03:03:22 +0000
commit22492d585dd9c786a04bf174658ee67d37f92b99 (patch)
treebecef091c147fe3d56999caf6a346788a3de5646 /perl-install/lang.pm
parentea0092057431b186c8bfe5212cb65b5f73ca7629 (diff)
downloaddrakx-backup-do-not-use-22492d585dd9c786a04bf174658ee67d37f92b99.tar
drakx-backup-do-not-use-22492d585dd9c786a04bf174658ee67d37f92b99.tar.gz
drakx-backup-do-not-use-22492d585dd9c786a04bf174658ee67d37f92b99.tar.bz2
drakx-backup-do-not-use-22492d585dd9c786a04bf174658ee67d37f92b99.tar.xz
drakx-backup-do-not-use-22492d585dd9c786a04bf174658ee67d37f92b99.zip
(write) let be aware of install mode
Diffstat (limited to 'perl-install/lang.pm')
-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';