mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-24 00:45:52 +00:00
af4df674ff
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]
16 lines
220 B
Bash
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
|