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

raeburn raeburn at source.lon-capa.org
Thu Dec 5 11:58:45 EST 2013


raeburn		Thu Dec  5 16:58:45 2013 EDT

  Modified files:              
    /doc/loncapafiles	langcheck.piml 
  Log:
  - Support SuSE 12.2, 1.3, 13.1; Fedora 18, 19, 20.
  
  
Index: doc/loncapafiles/langcheck.piml
diff -u doc/loncapafiles/langcheck.piml:1.3 doc/loncapafiles/langcheck.piml:1.4
--- doc/loncapafiles/langcheck.piml:1.3	Mon Jul 30 01:37:22 2012
+++ doc/loncapafiles/langcheck.piml	Thu Dec  5 16:58:45 2013
@@ -36,7 +36,8 @@
 
 if ('<DIST />' eq 'sles9' || '<DIST />' eq 'sles10' || '<DIST />' eq 'sles11' ||
     '<DIST />' eq 'suse11.1' || '<DIST />' eq 'suse11.2' || '<DIST />' eq 'suse11.3' ||
-    '<DIST />' eq 'suse11.4' || '<DIST />' eq '12.1') {
+    '<DIST />' eq 'suse11.4' || '<DIST />' eq 'suse12.1' || '<DIST />' eq 'suse12.2' ||
+    '<DIST />' eq 'suse12.3' || '<DIST />' eq 'suse13.1') {
     if (open(PIPE,"cat /etc/sysconfig/language |grep '^RC_LANG' |")) {
         print "Checking OS language";
         if (<PIPE> =~ /^RC_LANG="en/) {
@@ -48,7 +49,8 @@
         close(PIPE);
     }
 } elsif ('<DIST />' eq 'debian5' || '<DIST />' eq 'debian6' || '<DIST />' eq 'ubuntu6' ||
-         '<DIST />' eq 'ubuntu8' || '<DIST />' eq 'ubuntu10' || '<DIST />' eq 'ubuntu12') {
+         '<DIST />' eq 'ubuntu8' || '<DIST />' eq 'ubuntu10' || '<DIST />' eq 'ubuntu12' ||
+         '<DIST />' eq 'fedora18' || '<DIST />' eq 'fedora19' || '<DIST />' eq 'fedora20') {
     if (open(PIPE,"cat /etc/default/locale |grep '^LANG' |")) {
         print "Checking OS language";
         if (<PIPE> =~ /^LANG="en/) {




More information about the LON-CAPA-cvs mailing list