summaryrefslogtreecommitdiffstats
path: root/perl-install/standalone
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2004-08-09 03:10:27 +0000
committerPascal Rigaux <pixel@mandriva.com>2004-08-09 03:10:27 +0000
commitb42262b1e1a30bfd7f09210e1d3b6f0da8ca6734 (patch)
tree2fe2de756a5f30a1ed613eee45223555bf7c5e27 /perl-install/standalone
parent19a10e98f556ee3ce47831364ae45c044329b45f (diff)
downloaddrakx-backup-do-not-use-b42262b1e1a30bfd7f09210e1d3b6f0da8ca6734.tar
drakx-backup-do-not-use-b42262b1e1a30bfd7f09210e1d3b6f0da8ca6734.tar.gz
drakx-backup-do-not-use-b42262b1e1a30bfd7f09210e1d3b6f0da8ca6734.tar.bz2
drakx-backup-do-not-use-b42262b1e1a30bfd7f09210e1d3b6f0da8ca6734.tar.xz
drakx-backup-do-not-use-b42262b1e1a30bfd7f09210e1d3b6f0da8ca6734.zip
we never pass a prefix to lang::read() which is always use in standalone,
so use $::prefix and don't pass a prefix anymore
Diffstat (limited to 'perl-install/standalone')
-rwxr-xr-xperl-install/standalone/drakxtv2
-rw-r--r--perl-install/standalone/localedrake4
2 files changed, 3 insertions, 3 deletions
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() {