debian/postrm
changeset 31 bbcb8a3366b4
parent 26 767f79e69de1
child 32 89fb9c6611ca
--- a/debian/postrm
+++ b/debian/postrm
@@ -21,14 +21,14 @@
 
 case "$1" in
     purge)
-	rm -rf /var/lib/nobody/data;
-	rm -f /var/lib/nobody/.mcbotrc;
-	rm -f /var/lib/nobody/mcbot-*.log;
+	rm -rf /var/lib/mcbot/data;
+	rm -f /var/lib/mcbot/.mcbotrc;
+	rm -f /var/lib/mcbot/mcbot-*.log;
     ;;
     
     remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
 	update-rc.d -f mcbot remove &>/dev/null
-	usermod -d /nonexistent -s /bin/bash nobody
+	userdel mcbot
 	;;
 	
     *)