~ubuntu-branches/ubuntu/saucy/tipa/saucy

« back to all changes in this revision

Viewing changes to debian/xfonts-tipa.postinst

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2008-03-19 01:41:02 UTC
  • mfrom: (2.1.8 hardy)
  • Revision ID: james.westby@ubuntu.com-20080319014102-kei8nmuiqm94khxx
Tags: 2:1.3-12
* debian/control: Append trunk to the Vcs-Svn URL
* tipa-doc.doc-base.tipa-{manual,typefaces,vowel}: Set Section to Text

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#!/bin/sh -e
 
2
 
 
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
 
6
 
 
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)
 
9
 
 
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
 
14
  fi
 
15
fi
 
16
 
 
17
#DEBHELPER#