summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--move/move.pm4
1 files changed, 3 insertions, 1 deletions
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 => $_ }