/usr/sbin/update-texmf-config is in tex-common 5.03.
This file is owned by root:root, with mode 0o755.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 | #!/bin/sh -e
#
# update-texmf-config
# script used in maintainer script for updating the config files
# updmap.cfg, language.dat, fmtutil.cnf, and calling the respective
# triggers to allow tex-common trigger action to be run.
#
# Copyright (C) 2009 Norbert Preining
#
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation; version 2 dated June, 1991.
#
# This program is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program; see the file COPYING. If not, write to the
# Free Software Foundation, Inc., 51 Franklin St, Fifth Floor,
# Boston, MA 02110-1301 USA.
DOLSR=off
DOLSRFULL=off
DOHYPHEN=off
DOUPDMAP=off
# for upgrading purpose we accept language as synonym for hyphen, and
# updmap for map
while [ $# -ne 0 ]; do
case $1 in
hyphen|language)
DOHYPHEN=on
shift;;
map|updmap)
DOUPDMAP=on
shift;;
lsr)
DOLSR=on
shift;;
lsrfull)
DOLSR=off
DOLSRFULL=on
shift;;
*)
echo "unknown option: $1"
exit 1
;;
esac
done
if [ $DOLSR = on ] ; then
dpkg-trigger texmf-lsr
fi
if [ $DOLSRFULL = on ] ; then
dpkg-trigger texmf-lsrfull
fi
if [ $DOHYPHEN = on ] ; then
dpkg-trigger texmf-hyphen
fi
if [ $DOUPDMAP = on ] ; then
dpkg-trigger texmf-map
fi
# vim:set expandtab tabstop=2: #
|