cryptonas-branches/pythonrewrite/debian/postrm

13 lines
252 B
Text
Raw Normal View History

2006-08-14 17:40:12 +02:00
#!/bin/sh
if test "$1" = "purge" && getent passwd cryptobox 2>/dev/null >/dev/null \
&& test "$(cd ~cryptobox;pwd)" = /var/lib/cryptobox
then echo "Removing user 'cryptobox' ..."
userdel -r cryptobox
fi
#DEBHELPER#
# return without error
true