[LON-CAPA-cvs] cvs: doc /install/linux install.pl
raeburn
raeburn@source.lon-capa.org
Sat, 23 Apr 2011 19:04:42 -0000
raeburn Sat Apr 23 19:04:42 2011 EDT
Modified files:
/doc/install/linux install.pl
Log:
- For SuSE/SLES use yast to set language (if not en).
Index: doc/install/linux/install.pl
diff -u doc/install/linux/install.pl:1.6 doc/install/linux/install.pl:1.7
--- doc/install/linux/install.pl:1.6 Mon Mar 28 13:27:56 2011
+++ doc/install/linux/install.pl Sat Apr 23 19:04:42 2011
@@ -72,7 +72,7 @@
&mt('Stopping execution.')."\n";
exit;
} else {
- print LOG '$Id: install.pl,v 1.6 2011/03/28 13:27:56 raeburn Exp $'."\n";
+ print LOG '$Id: install.pl,v 1.7 2011/04/23 19:04:42 raeburn Exp $'."\n";
}
#
@@ -329,6 +329,8 @@
$command = 'dpkg-reconfigure locales';
} elsif ($distro =~ /^ubuntu/) {
$command = 'sudo set-language-env -E';
+ } elsif ($distro =~ /^(suse|sles)/) {
+ $command = 'yast language';
} else {
$command = 'system-config-language';
}