From c4ba98acd60ace74dc0598c73e44a522dfd23dda Mon Sep 17 00:00:00 2001 From: Francois Pons Date: Thu, 13 Sep 2001 12:15:37 +0000 Subject: fixed bad $localedir in load_mo(). --- perl-install/lang.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'perl-install/lang.pm') 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}; -- cgit v1.2.1