3
# postinst script for the xfonts-tipa Debian package
4
# Create by Rafael Laboissiere <rafael@debian.org>
5
# This file is in the public domain
7
# Remove the X11R6 xfonts-tipa.scale file which was present from 2:1.2-2.2
8
# to 2:1.3-4 (suggested by Norbert Preining)
10
if [ $# -eq 2 ] && ( [ "$1" = "install" ] || [ "$1" = "upgrade" ] ); then
11
if dpkg --compare-versions "$2" ge 2:1.2-2.2 && \
12
dpkg --compare-versions "$2" le 2:1.3-4 ; then
13
rm -f /etc/X11/fonts/X11R7/Type1/xfonts-tipa.scale