[26136] in Source-Commits
/svn/athena r25416 - trunk/debathena/config/tex-config/debian
daemon@ATHENA.MIT.EDU (Geoffrey Thomas)
Sun Oct 2 15:31:20 2011
Date: Sun, 2 Oct 2011 15:31:13 -0400
From: Geoffrey Thomas <geofft@MIT.EDU>
Message-Id: <201110021931.p92JVDfg011660@drugstore.mit.edu>
To: source-commits@mit.edu
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Author: geofft
Date: 2011-10-02 15:31:13 -0400 (Sun, 02 Oct 2011)
New Revision: 25416
Modified:
trunk/debathena/config/tex-config/debian/changelog
trunk/debathena/config/tex-config/debian/debathena-tex-config.postinst
Log:
In tex-config:
* Since 1.1, fmtutil-sys may not necessarily be installed, so test if
it's there before calling it. (If it's not called, that's fine.)
Closes part of Trac: #669.
Modified: trunk/debathena/config/tex-config/debian/changelog
===================================================================
--- trunk/debathena/config/tex-config/debian/changelog 2011-09-30 21:32:44 UTC (rev 25415)
+++ trunk/debathena/config/tex-config/debian/changelog 2011-10-02 19:31:13 UTC (rev 25416)
@@ -1,3 +1,11 @@
+debathena-tex-config (1.4) unstable; urgency=low
+
+ * Since 1.1, fmtutil-sys may not necessarily be installed, so test if
+ it's there before calling it. (If it's not called, that's fine.)
+ Closes part of Trac: #669.
+
+ -- Geoffrey Thomas <geofft@mit.edu> Sun, 02 Oct 2011 15:30:04 -0400
+
debathena-tex-config (1.3) unstable; urgency=low
[ Jonathan Reed ]
Modified: trunk/debathena/config/tex-config/debian/debathena-tex-config.postinst
===================================================================
--- trunk/debathena/config/tex-config/debian/debathena-tex-config.postinst 2011-09-30 21:32:44 UTC (rev 25415)
+++ trunk/debathena/config/tex-config/debian/debathena-tex-config.postinst 2011-10-02 19:31:13 UTC (rev 25416)
@@ -25,7 +25,12 @@
case "$1" in
configure)
- fmtutil-sys --all
+ # If fmtutil-sys is not currently available, that's okay;
+ # our config will get picked up in the triggers or postinsts
+ # of TeX packages when they do get installed.
+ if hash fmtutil-sys 2>/dev/null; then
+ fmtutil-sys --all
+ fi
;;
abort-upgrade|abort-remove|abort-deconfigure)