cryptonas/debian/postrm
lars d0d27ea05e Makefile created
debian installer improved
binary suid wrappers added
2006-05-15 09:41:00 +00:00

13 lines
312 B
Bash
Executable file

#!/bin/sh
# remove symlinks in /etc/rc?.d
[ "$1" = "purge" ] && update-rc.d cryptobox remove
if test "$1" = "purge" && getent passwd cryptobox &>/dev/null \
&& test "$(cd ~cryptobox;pwd)" = /var/lib/cryptobox
then echo "Removing user 'cryptobox' ..."
userdel -r cryptobox
fi
# return without error
true