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 : 3.15.218.44
#!/bin/sh -e
#
# preinst maintainer script for the Debian tex-common package.
#
# Copyright (C) 2012 by Norbert Preining <preining@debian.org>
#
# This file 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; either version 2 of the License, or (at your
# option) any later version.
#
# This file 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; if not, write to: The Free Software Foundation, Inc.,
# 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
#
# On Debian GNU/Linux System you can find a copy of the GNU General Public
# License in "/usr/share/common-licenses/GPL".
umask 022
# prepare for change of symlink to real dir
slink=/usr/share/texmf/doc
slinktarget=../doc/texmf
case "$1" in
upgrade|install)
ov=$2
if [ -n "$ov" ] && dpkg --compare-versions "$ov" lt 4 ; then
if [ -L $slink ] && [ "$(readlink $slink)" = $slinktarget ] ; then
mv $slink $slink.dpkg-remove
fi
fi
;;
esac
#
# remove not-used-anymore /var/lib/texmf/web2c/fmtutil.cnf
# see #851598
case "$1" in
upgrade|install)
rm -f /var/lib/texmf/web2c/fmtutil.cnf
;;
esac
# Automatically added by dh_installdeb/10.7.2ubuntu2
dpkg-maintscript-helper rm_conffile /etc/texmf/language.d/00tex.cnf 2.11 -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/10.7.2ubuntu2
dpkg-maintscript-helper rm_conffile /etc/texmf/fmt.d/00tex.cnf 6.00~ -- "$@"
# End automatically added section
# Automatically added by dh_installdeb/10.7.2ubuntu2
dpkg-maintscript-helper rm_conffile /etc/texmf/hyphen.d/00tex.cnf 6.00~ -- "$@"
# End automatically added section
### Local Variables:
### tab-width: 4
### indent-tabs-mode: nil
### End:
# vim:set tabstop=4 expandtab: #
|