[Debian-tex-commits] SVN tex-common commit + diffs: r4518 - tex-common/branches/for-tl2008/debian
Norbert Preining
preining at alioth.debian.org
Tue Dec 29 08:20:06 UTC 2009
Author: preining
Date: 2009-12-29 08:20:03 +0000 (Tue, 29 Dec 2009)
New Revision: 4518
Modified:
tex-common/branches/for-tl2008/debian/changelog
tex-common/branches/for-tl2008/debian/postinst.in
Log:
fix forgotten language.def handling in texmf-trigger action
Modified: tex-common/branches/for-tl2008/debian/changelog
===================================================================
--- tex-common/branches/for-tl2008/debian/changelog 2009-12-28 22:47:34 UTC (rev 4517)
+++ tex-common/branches/for-tl2008/debian/changelog 2009-12-29 08:20:03 UTC (rev 4518)
@@ -1,3 +1,11 @@
+tex-common (2.05) unstable; urgency=low
+
+ * update language.def based formats in the texmf-hyphen trigger option,
+ otherwise updating hyphenation patterns does not have any effect on
+ those formats (Closes: #NNNNNNN)
+
+ -- Norbert Preining <preining at debian.org> Tue, 29 Dec 2009 17:04:40 +0900
+
tex-common (2.04) unstable; urgency=low
* fix bug in dh_installtex that added a rogue newline in hyphenation
Modified: tex-common/branches/for-tl2008/debian/postinst.in
===================================================================
--- tex-common/branches/for-tl2008/debian/postinst.in 2009-12-28 22:47:34 UTC (rev 4517)
+++ tex-common/branches/for-tl2008/debian/postinst.in 2009-12-29 08:20:03 UTC (rev 4518)
@@ -191,6 +191,25 @@
exit 1
fi
fi
+ Y=$(grep "^[[:space:]]*tex[[:space:]]" $fmtcnffile || true)
+ if [ -n "$Y" ] ; then
+ # tex is installed so we can actually try to recreate
+ # formats based on language.def
+ tempfile=$(mktemp -p /tmp fmtutil.XXXXXXXX)
+ printf "Building formats --byhyphen $(kpsewhich language.def).\n\tThis may take some time... "
+ if fmtutil-sys --byhyphen "$(kpsewhich language.def)" > $tempfile 2>&1 ; then
+ rm -f $tempfile
+ echo "done."
+ else
+ exec >&2
+ echo
+ echo "fmtutil-sys failed. Output has been stored in"
+ echo "$tempfile"
+ echo "Please include this file if you report a bug."
+ echo
+ exit 1
+ fi
+ fi
fi
fi
fi
More information about the Debian-tex-commits
mailing list