1 #! /bin/sh
2 #
3 # see: dh_installdeb(1)
5 set -e
7 # summary of how this script can be called:
8 # * <postrm> `remove'
9 # * <postrm> `purge'
10 # * <old-postrm> `upgrade' <new-version>
11 # * <new-postrm> `failed-upgrade' <old-version>
12 # * <new-postrm> `abort-install'
13 # * <new-postrm> `abort-install' <old-version>
14 # * <new-postrm> `abort-upgrade' <old-version>
15 # * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version>
16 # for details, see /usr/share/doc/packaging-manual/
18 case "$1" in
19 remove)
20 ldconfig
21 ;;
23 purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
24 ;;
26 *)
27 echo "postrm called with unknown argument \`$1'" >&2
28 exit 0
30 esac
32 # dh_installdeb will replace this with shell code automatically
33 # generated by other debhelper scripts.
35 #DEBHELPER#