From b42262b1e1a30bfd7f09210e1d3b6f0da8ca6734 Mon Sep 17 00:00:00 2001 From: Pascal Rigaux Date: Mon, 9 Aug 2004 03:10:27 +0000 Subject: we never pass a prefix to lang::read() which is always use in standalone, so use $::prefix and don't pass a prefix anymore --- perl-install/standalone/localedrake | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'perl-install/standalone/localedrake') diff --git a/perl-install/standalone/localedrake b/perl-install/standalone/localedrake index e89804d3f..916e2fa76 100644 --- a/perl-install/standalone/localedrake +++ b/perl-install/standalone/localedrake @@ -21,7 +21,7 @@ if (defined $klang) { $klang or exit(-1); my $lang = member($klang, lang::list_langs()) ? $klang : 'en_US'; my $country = member($kcountry, lang::list_countries()) ? $kcountry : 'US'; - my $locale = lang::read('', $>); + my $locale = lang::read($>); $klang and $locale->{lang} = $lang; $kcountry and $locale->{country} = $country; lang::write('', $locale, $>, 'dont_touch_kde_files') if $apply; @@ -31,7 +31,7 @@ if (defined $klang) { exit(0); } -my $locale = lang::read('', $>); +my $locale = lang::read($>); my $in = 'interactive'->vnew; sub select_language() { -- cgit v1.2.1