debian/postrm
changeset 32 89fb9c6611ca
parent 31 bbcb8a3366b4
child 35 3fedae1f6ceb
equal deleted inserted replaced
31:bbcb8a3366b4 32:89fb9c6611ca
    23     purge)
    23     purge)
    24 	rm -rf /var/lib/mcbot/data;
    24 	rm -rf /var/lib/mcbot/data;
    25 	rm -f /var/lib/mcbot/.mcbotrc;
    25 	rm -f /var/lib/mcbot/.mcbotrc;
    26 	rm -f /var/lib/mcbot/mcbot-*.log;
    26 	rm -f /var/lib/mcbot/mcbot-*.log;
    27     ;;
    27     ;;
    28     
    28 
    29     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    29     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
    30 	update-rc.d -f mcbot remove &>/dev/null
    30 	update-rc.d -f mcbot remove &>/dev/null
    31 	userdel mcbot
    31 	userdel mcbot
    32 	;;
    32 	;;
    33 	
    33 
    34     *)
    34     *)
    35         echo "postrm called with unknown argument \`$1'" >&2
    35         echo "postrm called with unknown argument \`$1'" >&2
    36         exit 1
    36         exit 1
    37     ;;
    37     ;;
    38 esac
    38 esac