[subversion-commit] SVN tetex-base commit + diffs: r1089 -
tetex-base/trunk/debian
Frank Küster
frank at costa.debian.org
Wed Mar 22 17:35:05 UTC 2006
Author: frank
Date: 2006-03-22 17:35:04 +0000 (Wed, 22 Mar 2006)
New Revision: 1089
Modified:
tetex-base/trunk/debian/postinst.in
Log:
- don't check for texlinks which is never called (and never should be)
- correctly parse the outcome of the tests
- call create_tetex_formats with argument --all, so that it actually does something
Modified: tetex-base/trunk/debian/postinst.in
===================================================================
--- tetex-base/trunk/debian/postinst.in 2006-03-22 17:28:44 UTC (rev 1088)
+++ tetex-base/trunk/debian/postinst.in 2006-03-22 17:35:04 UTC (rev 1089)
@@ -118,12 +118,10 @@
# call mktexlr, and regenerate the formats and font maps.
clean_texenvironment
TEXINIT_P=""
- TEXLINKS_P=""
KPSEWHICH=""
test -x `which fmtutil` && TEXINIT_P=`which fmtutil` || true
- test -x `which texlinks` && TEXINIT_P=`which texlinks` || true
- test -x `which kpsewhich` && TEXINIT_P=`which kpsewhich` || true
- if [ -n "$TEXINIT_P" ] && [ -n "$TEXLINKS_P" ] && [ -n "$KPSEWHICH" ]&& \
+ test -x `which kpsewhich` && KPSEWHICH=`which kpsewhich` || true
+ if [ -n "$TEXINIT_P" ] && [ -n "$KPSEWHICH" ]&& \
kpsewhich --format='web2c files' fmtutil.cnf >/dev/null && \
kpsewhich --expand-var='$TEXMF' | grep -q "/usr/share/texmf" 2> /dev/null
then
@@ -134,7 +132,7 @@
create_fontmaps
# create formats
mktexlsr
- create_tetex_formats
+ create_tetex_formats --all
mktexlsr
fi
More information about the Pkg-tetex-commits
mailing list