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/drakxtv | 2 +- perl-install/standalone/localedrake | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'perl-install/standalone') diff --git a/perl-install/standalone/drakxtv b/perl-install/standalone/drakxtv index b57547113..51738d3ed 100755 --- a/perl-install/standalone/drakxtv +++ b/perl-install/standalone/drakxtv @@ -68,7 +68,7 @@ sub scan4channels() { ); my $tbl; - my $locale = lang::read('', $>); + my $locale = lang::read($>); $locale->{country} =~ /$_/ and $tbl = $countries{$_} foreach keys %countries; if ($tbl) { $ftable_id = $tbl->[0]; 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