prepare for the release of rrdtool-1.2.3
[rrdtool.git] / debian / librrd0.postrm
1 #! /bin/sh
2 #
3 # see: dh_installdeb(1)
4
5 set -e
6
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/
17
18 case "$1" in
19     remove)
20         ldconfig
21         ;;
22
23     purge|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
24         ;;
25
26     *)
27         echo "postrm called with unknown argument \`$1'" >&2
28         exit 0
29
30 esac
31
32 # dh_installdeb will replace this with shell code automatically
33 # generated by other debhelper scripts.
34
35 #DEBHELPER#
36
37