freebsd-ports/databases/msql/pkg-deinstall

16 lines
214 B
Bash

#!/bin/sh
# $FreeBSD$
#
if [ "$2" != "POST-DEINSTALL" ]; then
exit 0
fi
USER=msql
if pw usershow "${USER}" 2>/dev/null 1>&2; then
echo "To delete MSQL user permanently, use 'pw userdel ${USER}'"
fi
exit 0