2 # postrm script for nbd
4 # see: dh_installdeb(1)
8 if [ -f /usr
/share
/debconf
/confmodule
]
10 .
/usr
/share
/debconf
/confmodule
13 # summary of how this script can be called:
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/
25 remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear
)
30 ucf
--purge /etc
/nbd-server
/config ||
:
31 rm -f /etc
/nbd-server
/config ||
:
35 echo "postrm called with unknown argument \`$1'" >&2
40 # dh_installdeb will replace this with shell code automatically
41 # generated by other debhelper scripts.