aboutsummaryrefslogtreecommitdiff
path: root/www/interchange/pkg-deinstall
blob: 64924fede56fe0a88629a373d7142cb4a242c108 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#!/bin/sh
#
# $FreeBSD$
#

if [ "$2" != "POST-DEINSTALL" ]; then
    exit 0
fi

USER=interch

# Don't delete it, there may be ${USER} owned files around.
pw usershow "${USER}" >/dev/null 2>&1 \
	&& echo -e "*\n\
* To clean up the Interchange from your filesystem, run 'rm -fr ${PKG_PREFIX}/interchange.' \n\
* To delete the user '${USER}' permanently, use 'pw userdel ${USER}'.\n*"

exit 0