mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
21 lines
372 B
Bash
21 lines
372 B
Bash
#!/bin/sh
|
|
|
|
PATH=/bin:/usr/sbin
|
|
USER=umurmur
|
|
GROUP=umurmur
|
|
RUNDIR=/var/run/umurmur
|
|
|
|
case $2 in
|
|
POST-DEINSTALL)
|
|
if pw group show ${GROUP} 2>&1 > /dev/null; then
|
|
echo "You should manually remove the \"${GROUP}\" group."
|
|
fi
|
|
|
|
if pw user show ${USER} 2>&1 > /dev/null; then
|
|
echo "You should manually remove the \"${USER}\" user."
|
|
fi
|
|
|
|
rm -Rf ${RUNDIR}
|
|
;;
|
|
esac
|