1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/www/p5-FCGI-Spawn/pkg-deinstall
Steven Kreuzer 91300f7e73 I forgot to add some new files so the Previous commit was incomplete.
PR:		ports/144262
Submitted by:	Peter Vereshagin <peter@vereshagin.org>
2010-04-14 13:58:53 +00:00

17 lines
268 B
Bash

#!/bin/sh
#
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=fcgi
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete user permanently, use 'pw userdel ${USER}'. Also, unused groups of that user should be deleted, too"
fi
exit 0