blob: 3a131360f1a58222b3add0707b191ccde5409e24 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/bin/sh
#
# This script does the following.
#
# Checks if the 'www' user exists. If it does, then it displays
# a message.
#
# $FreeBSD$
#
# Make sure we're called during the 'make deinstall' process
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
# If the user exists, then display a message
if pw usershow "www" 2>/dev/null 1>&2; then
echo "To delete the www user permanently, use 'pw userdel www'"
fi
exit 0
|