Bug#388115: Re 388115: tetex-base postinst fails
I modified tetex-base.postinst as indicated in the patch above to
postinst.in. The problem remains.
Ross Boylan
Here's the end of postinst after my changes:
# Update language.dat (update-language is in tex-common on which we
depend)
# update-language
# if tetex-base is upgraded while tetex-bin is already installed, we
must
# call mktexlr, and regenerate the formats and font maps.
clean_texenvironment
TEXINIT_P=""
KPSEWHICH=""
test -x `which fmtutil` && TEXINIT_P=`which fmtutil` || true
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
mktexlsr
# Update fontmap configuration file and language.dat
update-texmf
update-updmap
update-language
update-fmtutil
# now call updmap
create_fontmaps
# create formats
mktexlsr
create_tetex_formats --all
mktexlsr
fi
Reply to: