[Debian-tex-commits] SVN tex-common commit + diffs: r5089 - in tex-common/branches/v3: debian scripts

Norbert Preining preining at alioth.debian.org
Wed Feb 29 03:58:11 UTC 2012


Author: preining
Date: 2012-02-29 03:58:10 +0000 (Wed, 29 Feb 2012)
New Revision: 5089

Modified:
   tex-common/branches/v3/debian/changelog
   tex-common/branches/v3/scripts/postinst-tex
Log:
postinst-tex: don't break if a fmt.d snipped has been removed


Modified: tex-common/branches/v3/debian/changelog
===================================================================
--- tex-common/branches/v3/debian/changelog	2012-02-29 01:41:09 UTC (rev 5088)
+++ tex-common/branches/v3/debian/changelog	2012-02-29 03:58:10 UTC (rev 5089)
@@ -1,3 +1,9 @@
+tex-common (3.0-1~3) unstable; urgency=low
+
+  * postinst-tex: don't break if a fmt.d snipped has been removed
+
+ -- Norbert Preining <preining at debian.org>  Wed, 29 Feb 2012 12:56:53 +0900
+
 tex-common (3.0-1~2) unstable; urgency=low
 
   * fix wrong dh_installtex postinst snippet for wrong path

Modified: tex-common/branches/v3/scripts/postinst-tex
===================================================================
--- tex-common/branches/v3/scripts/postinst-tex	2012-02-29 01:41:09 UTC (rev 5088)
+++ tex-common/branches/v3/scripts/postinst-tex	2012-02-29 03:58:10 UTC (rev 5089)
@@ -138,7 +138,11 @@
                 fi
                 if [ "$i" = format ] ; then
                     for fmt in #FORMATSFILES# ; do
-                        dhit_build_format --all --cnffile "/etc/texmf/fmt.d/$fmt.cnf"
+                        if [ -r "/etc/texmf/fmt.d/$fmt.cnf" ] ; then
+                            dhit_build_format --all --cnffile "/etc/texmf/fmt.d/$fmt.cnf"
+                        else
+                            echo "config file /etc/texmf/fmt.d/$fmt.cnf not available"
+                        fi
                     done
                 fi
                 if [ "$i" = hyphen ] ; then




More information about the Debian-tex-commits mailing list