summaryrefslogtreecommitdiffstats
path: root/perl-install
diff options
context:
space:
mode:
authorFrancois Pons <fpons@mandriva.com>2001-09-13 12:15:37 +0000
committerFrancois Pons <fpons@mandriva.com>2001-09-13 12:15:37 +0000
commitc4ba98acd60ace74dc0598c73e44a522dfd23dda (patch)
tree8b65a1f1e4d2e40b8b559486712df0381a07e983 /perl-install
parent48f8788874b2c6921bc08a506d7761a9f7583037 (diff)
downloaddrakx-backup-do-not-use-c4ba98acd60ace74dc0598c73e44a522dfd23dda.tar
drakx-backup-do-not-use-c4ba98acd60ace74dc0598c73e44a522dfd23dda.tar.gz
drakx-backup-do-not-use-c4ba98acd60ace74dc0598c73e44a522dfd23dda.tar.bz2
drakx-backup-do-not-use-c4ba98acd60ace74dc0598c73e44a522dfd23dda.tar.xz
drakx-backup-do-not-use-c4ba98acd60ace74dc0598c73e44a522dfd23dda.zip
fixed bad $localedir in load_mo().
Diffstat (limited to 'perl-install')
-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 8d9475e42..bf189e405 100644
--- a/perl-install/lang.pm
+++ b/perl-install/lang.pm
@@ -457,7 +457,7 @@ sub write {
sub load_mo {
my ($lang) = @_;
- my ($localedir, $suffix) = ('/usr/share/locale', 'LC_MESSAGES/libDrakX.mo');
+ my ($localedir, $suffix) = ("$ENV{SHARE_PATH}/locale", 'LC_MESSAGES/libDrakX.mo');
$localedir .= "_special" if $::isInstall;
$lang ||= $ENV{LANGUAGE} || $ENV{LC_ALL} || $ENV{LC_MESSAGES} || $ENV{LANG};