--- doc/loncapafiles/langcheck.piml 2013/12/05 16:58:45 1.4
+++ doc/loncapafiles/langcheck.piml 2014/06/03 20:35:04 1.6
@@ -50,7 +50,7 @@ if ('' eq 'sles9' || ''
}
} elsif ('' eq 'debian5' || '' eq 'debian6' || '' eq 'ubuntu6' ||
'' eq 'ubuntu8' || '' eq 'ubuntu10' || '' eq 'ubuntu12' ||
- '' eq 'fedora18' || '' eq 'fedora19' || '' eq 'fedora20') {
+ '' eq 'ubuntu14') {
if (open(PIPE,"cat /etc/default/locale |grep '^LANG' |")) {
print "Checking OS language";
if (<PIPE> =~ /^LANG="en/) {
@@ -61,6 +61,16 @@ if ('' eq 'sles9' || ''
}
close(PIPE);
}
+} elsif ('' eq 'fedora18' || '' eq 'fedora19' || '' eq 'fedora20') {
+ if (open(PIPE,"cat /etc/locale.conf |grep '^LANG' |")) {
+ print "Checking OS language";
+ if (<PIPE> =~ /^LANG="en/) {
+ print "... OK\n";
+ } else {
+ print $osmsg.
+ "It is recommended that you set LANG=\"en_US.UTF-8\" in /etc/locale.conf\n";
+ }
+ close(PIPE);
} else {
if (open(PIPE,"cat /etc/sysconfig/i18n |grep '^LANG' |")) {
print "Checking OS language";