diff options
author | Francois Pons <fpons@mandriva.com> | 2001-09-13 12:15:37 +0000 |
---|---|---|
committer | Francois Pons <fpons@mandriva.com> | 2001-09-13 12:15:37 +0000 |
commit | c4ba98acd60ace74dc0598c73e44a522dfd23dda (patch) | |
tree | 8b65a1f1e4d2e40b8b559486712df0381a07e983 | |
parent | 48f8788874b2c6921bc08a506d7761a9f7583037 (diff) | |
download | drakx-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().
-rw-r--r-- | perl-install/lang.pm | 2 |
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}; |