summaryrefslogtreecommitdiff
path: root/net/vserver/files/pkg-deinstall.in
blob: 0eab04e3dc3c6366b3ee8ee813e160c19f7fb4df (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
#! /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