mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
7794504fc8
- Correct detection of sendmail port - Don't delete config file if modified - Use special user for setuid programs PR: ports/74158 Submitted by: Dean Hollister <dean@odyssey.apana.org.au> (maintainer)
14 lines
234 B
Bash
14 lines
234 B
Bash
#!/bin/sh
|
|
# $FreeBSD$
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
DCCUSER=%%DCCUSER%%
|
|
|
|
if pw usershow "${DCCUSER}" 2>/dev/null 1>&2; then
|
|
echo "To delete ${DCCUSER} user permanently, use 'pw userdel \"${DCCUSER}\"'"
|
|
fi
|
|
exit 0
|