diff --git a/debian/postrm b/debian/postrm --- 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 ;; *)