--- doc/loncapafiles/langcheck.piml 2021/12/17 18:05:41 1.26 +++ doc/loncapafiles/langcheck.piml 2023/05/01 17:54:35 1.30 @@ -54,11 +54,11 @@ if ('' eq 'sles9' || '' '' eq 'ubuntu20') { if (open(PIPE,"cat /etc/default/locale |grep '^LANG' |")) { print "Checking OS language"; - if (<PIPE> =~ /^LANG="en/) { + if (<PIPE> =~ /^LANG=en/) { print "... OK\n"; } else { print $osmsg. - "It is recommended that you set LANG=\"en_US.UTF-8\" in /etc/default/locale\n"; + "It is recommended that you set LANG=en_US.UTF-8 in /etc/default/locale\n"; } close(PIPE); } @@ -70,7 +70,9 @@ if ('' eq 'sles9' || '' '' eq 'fedora33' || '' eq 'fedora34' || '' eq 'fedora35' || '' eq 'rhes7' || '' eq 'centos7' || '' eq 'scientific7' || '' eq 'rhes8' || '' eq 'centos8' || '' eq 'oracle7' || - '' eq 'oracle8') { + '' eq 'oracle8' || '' eq 'rocky8' || '' eq 'alma8' || + '' eq 'centos8-stream' || '' eq 'centos9-stream' || '' eq 'rhes9' || + '' eq 'oracle9' || '' eq 'rocky9' || '' eq 'alma9') { if (open(PIPE,"cat /etc/locale.conf |grep '^LANG' |")) { print "Checking OS language"; if (<PIPE> =~ /^LANG="en/) {