~ubuntu-branches/ubuntu/edgy/tipa/edgy

« back to all changes in this revision

Viewing changes to debian/postrm

  • Committer: Bazaar Package Importer
  • Author(s): Rafael Laboissiere
  • Date: 2006-06-19 11:42:41 UTC
  • mfrom: (2.1.1 etch)
  • Revision ID: james.westby@ubuntu.com-20060619114241-ko4dkfuau1gkfxa3
Tags: 2:1.3-4
debian/postrm: Removed this file, whose job is done automatically by
dh_installtex (this should hopefully really closes: #335990).  Thanks
again to Norbert Preining for the heads up.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh -
2
 
# postrm of package tipa
3
 
# Rafael Laboissiere <rafael@debian.org>
4
 
 
5
 
set -e
6
 
 
7
 
case "$1" in
8
 
    purge | remove)
9
 
      if [ -x /usr/bin/texhash ] ; then \
10
 
         /usr/bin/texhash ; \
11
 
      fi
12
 
      case "$1" in
13
 
          remove)
14
 
            mv /etc/texmf/updmap.d/10tipa.cfg /etc/texmf/updmap.d/10tipa.bak || true
15
 
          ;;
16
 
          purge)
17
 
            rm -f /etc/texmf/updmap.d/10tipa.*
18
 
          ;;
19
 
      esac
20
 
      if [ -x /usr/sbin/update-updmap ] ; then \
21
 
         /usr/sbin/update-updmap ; \
22
 
      fi
23
 
      if [ -x /usr/bin/updmap ] ; then \
24
 
         /usr/bin/updmap ; \
25
 
      fi
26
 
    ;;
27
 
    upgrade | failed-upgrade | abort-upgrade | abort-install)
28
 
    ;;
29
 
    *)
30
 
        echo "$0: incorrect arguments: $*" >&2
31
 
        exit 1
32
 
    ;;
33
 
esac
34
 
 
35
 
#DEBHELPER#
36