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

raeburn raeburn@source.lon-capa.org
Sat, 08 May 2010 18:27:22 -0000


raeburn		Sat May  8 18:27:22 2010 EDT

  Modified files:              
    /doc/loncapafiles	latex_fmtutil.piml 
  Log:
  - /usr/bin/fmtutil-sys not included for distros with tetex version 2
    (sles9 and rhes4).
  
  
Index: doc/loncapafiles/latex_fmtutil.piml
diff -u doc/loncapafiles/latex_fmtutil.piml:1.1 doc/loncapafiles/latex_fmtutil.piml:1.2
--- doc/loncapafiles/latex_fmtutil.piml:1.1	Sat Apr  3 01:13:44 2010
+++ doc/loncapafiles/latex_fmtutil.piml	Sat May  8 18:27:22 2010
@@ -3,7 +3,7 @@
 <!-- latex_fmtutil.piml -->
 <!-- Stuart Raeburn -->
 
-<!-- $Id: latex_fmtutil.piml,v 1.1 2010/04/03 01:13:44 raeburn Exp $ -->
+<!-- $Id: latex_fmtutil.piml,v 1.2 2010/05/08 18:27:22 raeburn Exp $ -->
 
 <!--
 
@@ -33,11 +33,13 @@
 <files>
 <file>
 <perlscript mode="fg">
-    system("/usr/bin/fmtutil-sys --missing > /dev/null 2>&1");
-    if ($?) {
-        print "Failed to run fmtutil-sys to check for missing TeX format files.  Try running /usrbin/fmtutil-sys --missing manually\n";
-    } else {
-        print "Check for missing TeX format files with fmtutil-sys completed successfully.\n";
+    unless ('<DIST />' eq 'sles9' || '<DIST />' eq 'rhes4') {
+        system("/usr/bin/fmtutil-sys --missing > /dev/null 2>&1");
+        if ($?) {
+            print "Failed to run fmtutil-sys to check for missing TeX format files.  Try running /usrbin/fmtutil-sys --missing manually\n";
+        } else {
+            print "Check for missing TeX format files with fmtutil-sys completed successfully.\n";
+        }
     }
 </perlscript>
 </file>