[subversion-commit] SVN tex-common commit + diffs: r912 -
tex-common/trunk/doc
Florent Rougon
frn at costa.debian.org
Mon Feb 20 22:15:21 UTC 2006
Author: frn
Date: 2006-02-20 22:15:21 +0000 (Mon, 20 Feb 2006)
New Revision: 912
Modified:
tex-common/trunk/doc/Debian-TeX-Policy.sgml
Log:
In the sample postinst and postrm snippets for font packages given in Policy,
call update-updmap even if libkpathsea is not configured.
Modified: tex-common/trunk/doc/Debian-TeX-Policy.sgml
===================================================================
--- tex-common/trunk/doc/Debian-TeX-Policy.sgml 2006-02-20 18:38:39 UTC (rev 911)
+++ tex-common/trunk/doc/Debian-TeX-Policy.sgml 2006-02-20 22:15:21 UTC (rev 912)
@@ -950,10 +950,10 @@
#
update_fontmaps()
{
+ update-updmap --quiet
# All of the following needs an installed and configured
# basic TeX system, so check this.
if kpsewhich --version >/dev/null 2>&1; then
- update-updmap --quiet
# mktexlsr is recommended now because updmap-sys relies
# heavily on Kpathsea to locate updmap.cfg and the map files.
# Also, it is slightly better not to specify a particular
@@ -1025,12 +1025,6 @@
# calls.
try_to_update_fontmaps()
{
- # All of the following needs an installed and configured basic TeX system.
- # If there is one, register the fonts. Otherwise, that will be done later
- # when the basic TeX system is configured, so we can exit without
- # worrying.
- kpsewhich --version >/dev/null 2>&1 || return 0
-
# Don't print alarming error messages if the programs aren't even
# available.
if which update-updmap >/dev/null; then
@@ -1038,6 +1032,13 @@
update-updmap --quiet || true
echo "done."
fi
+
+ # All of the following needs an installed and configured basic TeX system.
+ # If there is one, register the fonts. Otherwise, that will be done later
+ # when the basic TeX system is configured, so we can exit without
+ # worrying.
+ kpsewhich --version >/dev/null 2>&1 || return 0
+
# mktexlsr is recommended now because updmap-sys relies heavily on
# Kpathsea to locate updmap.cfg and the map files. Also, it is slightly
# better not to specify a particular directory to refresh because
More information about the Pkg-tetex-commits
mailing list