source: trunk/debathena/config/tex-config/debian/debathena-tex-config.postrm @ 24528

Revision 24528, 1.0 KB checked in by jdreed, 14 years ago (diff)
Fix package name in maintainer scripts in multiple packages
  • Property svn:executable set to *
Line 
1#!/bin/sh
2# postrm script for debathena-tex-config
3#
4# see: dh_installdeb(1)
5
6set -e
7
8# dh_installdeb will replace this with shell code automatically
9# generated by other debhelper scripts.
10
11#DEBHELPER#
12
13# summary of how this script can be called:
14#        * <postrm> `remove'
15#        * <postrm> `purge'
16#        * <old-postrm> `upgrade' <new-version>
17#        * <new-postrm> `failed-upgrade' <old-version>
18#        * <new-postrm> `abort-install'
19#        * <new-postrm> `abort-install' <old-version>
20#        * <new-postrm> `abort-upgrade' <old-version>
21#        * <disappearer's-postrm> `disappear' <overwriter>
22#          <overwriter-version>
23# for details, see http://www.debian.org/doc/debian-policy/ or
24# the debian-policy package
25
26
27case "$1" in
28    purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
29        if hash fmtutil-sys >/dev/null 2>&1; then
30            fmtutil-sys --all
31        fi
32    ;;
33
34    *)
35        echo "postrm called with unknown argument \`$1'" >&2
36        exit 1
37    ;;
38esac
39
40exit 0
41
42
Note: See TracBrowser for help on using the repository browser.