[subversion-commit] SVN tetex-base commit + diffs: r1721 - tetex-base/trunk/debian

Frank Küster frank at costa.debian.org
Mon Oct 9 06:36:58 UTC 2006


Author: frank
Date: 2006-10-09 06:36:56 +0000 (Mon, 09 Oct 2006)
New Revision: 1721

Modified:
   tetex-base/trunk/debian/postinst.in
Log:
one more check needed upon upgrade (problem revealed because tetex-bin
moved the preinst part to postinst)


Modified: tetex-base/trunk/debian/postinst.in
===================================================================
--- tetex-base/trunk/debian/postinst.in	2006-10-09 06:35:58 UTC (rev 1720)
+++ tetex-base/trunk/debian/postinst.in	2006-10-09 06:36:56 UTC (rev 1721)
@@ -136,8 +136,14 @@
       create_fontmaps
       # create formats
       mktexlsr
-      create_tetex_formats --all --cnffile /etc/texmf/fmt.d/01tetex.cnf
-      mktexlsr
+      fmt_cnffile=/etc/texmf/fmt.d/01tetex.cnf
+      # this file is not available before tetex-bin is configured.  
+      # Upon upgrade, older tetex-bin versions might make the above tests
+      # succeed without the file being present.
+      if [ -f $fmt_cnffile ]; then
+	create_tetex_formats --all --cnffile $fmt_cnffile
+	mktexlsr
+      fi
     fi
 
     ;;




More information about the Pkg-tetex-commits mailing list