0xV3NOMx
Linux ip-172-26-7-228 5.4.0-1103-aws #111~18.04.1-Ubuntu SMP Tue May 23 20:04:10 UTC 2023 x86_64



Your IP : 18.116.89.70


Current Path : /proc/thread-self/root/usr/sbin/
Upload File :
Current File : //proc/thread-self/root/usr/sbin/update-texmf-config

#!/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-2015 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.

# for upgrading purpose we accept language as synonym for hyphen, and
# updmap for map, we also keep lsr land fulllsr, although now triggered
# implicitly via file triggers
while [ $# -ne 0 ]; do
  case $1 in
    hyphen|language)
      dpkg-trigger texmf-hyphen
      shift;;
    format)
      dpkg-trigger texmf-format
      shift;;
    map|updmap)
      dpkg-trigger texmf-map
      shift;;
    lsr)
      # ignored
      shift;;
    lsrfull)
      # ignored
      shift;;
    *)
      echo "unknown option: $1"
      exit 1
      ;;
  esac
done

# vim:set expandtab tabstop=2: #