File:  [LON-CAPA] / doc / loncapafiles / latex_fmtutil.piml
Revision 1.2: download - view: text, annotated - select for diffs
Sat May 8 18:27:22 2010 UTC (13 years, 10 months ago) by raeburn
Branches: MAIN
CVS tags: HEAD
- /usr/bin/fmtutil-sys not included for distros with tetex version 2
  (sles9 and rhes4).

<!DOCTYPE piml PUBLIC "-//TUX/DTD piml 1.0 Final//EN" 
	"http://lpml.sourceforge.net/DTD/piml.dtd">
<!-- latex_fmtutil.piml -->
<!-- Stuart Raeburn -->

<!-- $Id: latex_fmtutil.piml,v 1.2 2010/05/08 18:27:22 raeburn Exp $ -->

<!--

This file is part of the LearningOnline Network with CAPA (LON-CAPA).

LON-CAPA is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.

LON-CAPA is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with LON-CAPA; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA

/home/httpd/html/adm/gpl.txt

http://www.lon-capa.org/

-->

<piml>
<files>
<file>
<perlscript mode="fg">
    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>
</files>
</piml>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>