[Debian-tex-commits] SVN tex-common commit + diffs: r5449 - tex-common/trunk/debian

Norbert Preining preining at alioth.debian.org
Wed May 9 22:15:31 UTC 2012


Author: preining
Date: 2012-05-09 22:15:30 +0000 (Wed, 09 May 2012)
New Revision: 5449

Modified:
   tex-common/trunk/debian/changelog
   tex-common/trunk/debian/postinst
Log:
don't break if texmf.cnf is already removed (Closes: #671610, #672269)


Modified: tex-common/trunk/debian/changelog
===================================================================
--- tex-common/trunk/debian/changelog	2012-05-09 09:28:23 UTC (rev 5448)
+++ tex-common/trunk/debian/changelog	2012-05-09 22:15:30 UTC (rev 5449)
@@ -1,3 +1,9 @@
+tex-common (3.11) UNRELEASED; urgency=low
+
+  * don't break if texmf.cnf is already removed (Closes: #671610, #672269)
+
+ -- Norbert Preining <preining at debian.org>  Thu, 10 May 2012 07:11:07 +0900
+
 tex-common (3.10) unstable; urgency=low
 
   * fix IFS error that prevents newer hyph-utf8 to get configured

Modified: tex-common/trunk/debian/postinst
===================================================================
--- tex-common/trunk/debian/postinst	2012-05-09 09:28:23 UTC (rev 5448)
+++ tex-common/trunk/debian/postinst	2012-05-09 22:15:30 UTC (rev 5449)
@@ -403,7 +403,8 @@
         if test -x "`which ucfr`" ; then
             ucfr --purge tex-common /etc/texmf/texmf.cnf
         fi
-        rm /etc/texmf/texmf.cnf
+        # we might have already removed this file on a failed upgrade trial
+        rm -f /etc/texmf/texmf.cnf
         rm -f /etc/texmf/texmf.cnf.ucf-new
         rm -f /etc/texmf/texmf.cnf.ucf-old
         rm -f /etc/texmf/texmf.cnf.ucf-dist




More information about the Debian-tex-commits mailing list