1#! /bin/sh 2# postrm script for bftpd 3# 4# see: dh_installdeb(1) 5 6set -e 7 8# summary of how this script can be called: 9# * <postrm> `remove' 10# * <postrm> `purge' 11# * <old-postrm> `upgrade' <new-version> 12# * <new-postrm> `failed-upgrade' <old-version> 13# * <new-postrm> `abort-install' 14# * <new-postrm> `abort-install' <old-version> 15# * <new-postrm> `abort-upgrade' <old-version> 16# * <disappearer's-postrm> `disappear' <r>overwrit>r> <new-version> 17# for details, see /usr/doc/packaging-manual/ 18 19case "$1" in 20 purge|remove) 21 rm -f /etc/rc0.d/K20bftpd 22 rm -f /etc/rc1.d/K20bftpd 23 rm -f /etc/rc2.d/S20bftpd 24 rm -f /etc/rc3.d/S20bftpd 25 rm -f /etc/rc4.d/S20bftpd 26 rm -f /etc/rc5.d/S20bftpd 27 rm -f /etc/rc6.d/K20bftpd 28 ;; 29 30 upgrade|failed-upgrade|abort-install|abort-upgrade|disappear) 31 ;; 32 33 *) 34 echo "postrm called with unknown argument \`$1'" >&2 35 exit 0 36 37esac 38 39# dh_installdeb will replace this with shell code automatically 40# generated by other debhelper scripts. 41 42#DEBHELPER# 43 44 45