51ed5eda72
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]
15 lines
220 B
Bash
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
|