Touch changelog
[nbd.git] / debian / nbd-client.postrm
blob67cc6b89c6a3d748a61f961f5009ffd5e1a4a015
1 #! /bin/sh
2 # postrm script for nbd
4 # see: dh_installdeb(1)
6 set -e
8 if [ -f /usr/share/debconf/confmodule ]
9 then
10 . /usr/share/debconf/confmodule
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' <r>overwrit>r> <new-version>
22 # for details, see /usr/share/doc/packaging-manual/
24 case "$1" in
25 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
29 purge)
31 db_purge ||:
32 rm -f /etc/nbd-client /etc/nbd-client.bak /etc/nbd-client.old
36 echo "postrm called with unknown argument \`$1'" >&2
37 exit 0
39 esac
41 # dh_installdeb will replace this with shell code automatically
42 # generated by other debhelper scripts.
44 #DEBHELPER#