aboutsummaryrefslogtreecommitdiffstats
path: root/www/havp/files/pkg-deinstall.in
blob: 9374d85b4d22e0481efe68ebb3380db0b860d097 (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
26
#!/bin/sh
# $FreeBSD$

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

HAVP_USER=havp

echo
echo "===================================================="
echo
echo "If you want remove havp permanently from you system"
echo "execute following commands:"
echo
echo " # rm -rf %%LOG_DIR%%"
echo " # rm -rf %%RUN_DIR%%"
echo " # rm -rf %%TMP_DIR%%"
if pw usershow "${HAVP_USER}" 2>/dev/null 1>&2; then
    echo " # pw userdel ${HAVP_USER}"
fi
echo
echo "===================================================="
echo

exit 0