1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00
freebsd-ports/databases/mongodb/pkg-deinstall
Wen Heping af4df674ff 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/140144 [1]
		ports/140257 [2]
		ports/140489 [1]
Submitted by:	Mirko Zinn <mail@derzinn.de> [1]
		Ivan Voras <ivoras@FreeBSD.org> [2]
2009-11-19 06:53:27 +00:00

16 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