aboutsummaryrefslogtreecommitdiffstats
path: root/www/interchange/pkg-deinstall
blob: 7dfcf9b6382f3e1d6fdef01c5af6728d79165318 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/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'
* and 'rm -fr /var/run/interchange'
*
* To delete the user '${USER}' permanently,
* use 'pw userdel ${USER}'.\n"

exit 0