c2e4cfd348
default to honor the fact that 'nobody' is not intended to own any files. Requested by: simon Approved by: erwin (mentor)
17 lines
411 B
Bash
17 lines
411 B
Bash
#!/bin/sh -
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
BITLBEEUSER=%%BITLBEEUSER%%
|
|
BITLBEEGROUP=%%BITLBEEGROUP%%
|
|
|
|
if [ "$2" = "POST-DEINSTALL" ]; then
|
|
if /usr/sbin/pw group show "${BITLBEEGROUP}" 2>&1 >/dev/null; then
|
|
echo "You should manually remove the \"${BITLBEEGROUP}\" group."
|
|
fi
|
|
|
|
if /usr/sbin/pw user show "${BITLBEEUSER}" 2>&1 >/dev/null; then
|
|
echo "You should manually remove the \"${BITLBEEUSER}\" user."
|
|
fi
|
|
fi
|