[Collab-qa-commits] r2269 - udd/udd

Andreas Tille tille at alioth.debian.org
Sun May 6 13:51:45 UTC 2012


Author: tille
Date: 2012-05-06 13:51:45 +0000 (Sun, 06 May 2012)
New Revision: 2269

Modified:
   udd/udd/bibref_gatherer.py
Log:
stable installs needed fonts somewhere else


Modified: udd/udd/bibref_gatherer.py
===================================================================
--- udd/udd/bibref_gatherer.py	2012-05-06 13:46:16 UTC (rev 2268)
+++ udd/udd/bibref_gatherer.py	2012-05-06 13:51:45 UTC (rev 2269)
@@ -293,7 +293,8 @@
     # if there is a working LaTeX installation try to build a BibTeX database and test it by creating a debian.pdf file
     if isfile('/usr/bin/pdflatex') and access('/usr/bin/pdflatex', X_OK) and \
        isfile('/usr/bin/bibtex')   and access('/usr/bin/bibtex', X_OK) and \
-       isfile('/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf'):
+       ( isfile('/usr/share/texlive/texmf-dist/fonts/source/jknappen/ec/ecrm.mf') or \
+         isfile('/usr/share/texmf-texlive/fonts/source/jknappen/ec/ecrm.mf'):
       # create BibTeX file
       bf = open(self.bibtexfile, 'w')
       cur.execute("SELECT * FROM bibtex()")




More information about the Collab-qa-commits mailing list