From 463c2e89e422bebfaf22f63b70b81d773d32faa9 Mon Sep 17 00:00:00 2001 From: Guillaume Cottenceau Date: Fri, 21 Nov 2003 18:37:59 +0000 Subject: - don't unconditionally assign lang::read to {locale} because we default to US as a country, and install_steps::selectLanguage relies on a void country to assign default country for a lang (e.g. FR for fr) - use lang::set so that in mode 3 KDE can start in the right language --- move/move.pm | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'move') diff --git a/move/move.pm b/move/move.pm index d6b9c4c5f..e432436fa 100644 --- a/move/move.pm +++ b/move/move.pm @@ -140,7 +140,9 @@ sub init { print "Using existing host configuration\n"; $using_existing_host_config = 1; } - $o->{locale} = lang::read('', 0); + if (-s '/etc/sysconfig/i18n') { + lang::set($o->{locale} = lang::read('', 0)); + } drakx_stuff: $o->{steps}{$_} = { reachable => 1, text => $_ } -- cgit v1.2.1