freebsd-ports/databases/mongodb-devel/pkg-deinstall
Wen Heping 51ed5eda72 Mongo (from "humongous") is a high-performance, open source,
schema-free, document-oriented database. A common name in the
"NOSQL" community.

WWW: http://www.mongodb.org/

PR:		ports/140257 [1]
		ports/140144 [2]
		ports/140489 [2]
Submitted by:	Ivan Voras <ivoras@FreeBSD.org> [1]
		Mirko Zinn <mail@derzinn.de> [2]
2009-11-19 07:09:00 +00:00

15 lines
220 B
Bash

#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=mongodb
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete mongodb user permanently, use 'pw userdel ${USER}'"
fi
exit 0