mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
deb72e9dba
- Register UID, provide rc script PR: ports/102479 Submitted by: Andreas S. Wetzel <mickey@netassembly.de> (maintainer)
26 lines
471 B
Bash
26 lines
471 B
Bash
#! /bin/sh
|
|
|
|
if [ "$2" != "POST-DEINSTALL" ]; then
|
|
exit 0
|
|
fi
|
|
|
|
PREFIX=${PKG_PREFIX:-%%PREFIX%%}
|
|
VCHATUSER=%%VCHATUSER%%
|
|
VCHATGROUP=%%VCHATGROUP%%
|
|
|
|
if pw usershow "${VCHATUSER}" 2>/dev/null 1>&2; then
|
|
|
|
echo "To delete ${VCHATUSER} user permanently, use 'pw userdel \"${VCHATUSER}\"'"
|
|
|
|
fi
|
|
|
|
if [ -d "${PREFIX}/etc/vchat" ]; then
|
|
|
|
|
|
echo "If you do not intend to use this package any longer, please delete"
|
|
echo "the directory \"${PREFIX}/etc/vchat\" manually."
|
|
|
|
fi
|
|
|
|
exit 0
|