debian/postrm
changeset 26 767f79e69de1
parent 0 586472add385
child 31 bbcb8a3366b4
equal deleted inserted replaced
25:a0fad312ea30 26:767f79e69de1
    22 case "$1" in
    22 case "$1" in
    23     purge)
    23     purge)
    24 	rm -rf /var/lib/nobody/data;
    24 	rm -rf /var/lib/nobody/data;
    25 	rm -f /var/lib/nobody/.mcbotrc;
    25 	rm -f /var/lib/nobody/.mcbotrc;
    26 	rm -f /var/lib/nobody/mcbot-*.log;
    26 	rm -f /var/lib/nobody/mcbot-*.log;
    27 	usermod -d /nonexistent -s /bin/bash nobody
       
    28     ;;
    27     ;;
    29     
    28     
    30     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
    31 	usermod -d /nonexistent -s /bin/bash nobody
    31 	usermod -d /nonexistent -s /bin/bash nobody
    32 	;;
    32 	;;
    33 	
    33 	
    34     *)
    34     *)
    35         echo "postrm called with unknown argument \`$1'" >&2
    35         echo "postrm called with unknown argument \`$1'" >&2