1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-26 05:02:18 +00:00
freebsd-ports/net/vserver/files/pkg-deinstall.in
Pav Lucistnik deb72e9dba - Update to 2.43a
- Register UID, provide rc script

PR:		ports/102479
Submitted by:	Andreas S. Wetzel <mickey@netassembly.de> (maintainer)
2006-08-28 20:14:42 +00:00

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