[LON-CAPA-cvs] cvs: doc /loncapafiles langcheck.piml

raeburn raeburn at source.lon-capa.org
Sat Mar 26 11:13:40 EDT 2022


raeburn		Sat Mar 26 15:13:40 2022 EDT

  Modified files:              
    /doc/loncapafiles	langcheck.piml 
  Log:
  - No double quote in LANG value expected from /etc/default/locale in Ubuntu.
  
  
Index: doc/loncapafiles/langcheck.piml
diff -u doc/loncapafiles/langcheck.piml:1.28 doc/loncapafiles/langcheck.piml:1.29
--- doc/loncapafiles/langcheck.piml:1.28	Tue Dec 21 13:57:46 2021
+++ doc/loncapafiles/langcheck.piml	Sat Mar 26 15:13:40 2022
@@ -54,11 +54,11 @@
          '<DIST />' 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);
     }




More information about the LON-CAPA-cvs mailing list