1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-02 01:20:54 +00:00
freebsd-ports/net/spread4/pkg-deinstall
Emanuel Haupt 9466619af6 - Update to 3.17.3
- Provide pkg-deinstall
- Cleanup

PR:		86901
Submitted by:	Chris Mikkelson <cmikk@qwest.net>
Approved by:	maintainer timeout (16 days after postponement)
2005-10-28 18:30:58 +00:00

30 lines
553 B
Bash

#!/bin/sh
#
# $FreeBSD$
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=spread
GROUP=spread
echo "===> deinstall note:"
echo " Please note that user ${USER} and group ${GROUP} was not removed"
echo " from this system:"
echo ""
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo " To delete spread user permanently"
echo " $ pw userdel ${USER}"
echo ""
fi
if pw groupshow "${GROUP}" 2>/dev/null 1>&2; then
echo " To delete spread group permanently"
echo " $ pw groupdel ${GROUP}"
echo ""
fi
exit 0