debian/postrm
changeset 35 3fedae1f6ceb
parent 32 89fb9c6611ca
equal deleted inserted replaced
34:900bc2a53fd7 35:3fedae1f6ceb
    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 2>&1
    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