openbsd-ports/databases/mysql/pkg/DEINSTALL-server

26 lines
611 B
Plaintext
Raw Normal View History

# $OpenBSD: DEINSTALL-server,v 1.3 2002/02/19 03:58:57 brad Exp $
#
# MySQL de-installation
PATH=/bin:/usr/bin:/sbin:/usr/sbin
PREFIX=${PKG_PREFIX:-/usr/local}
DB_DIR=${DB_DIR}
SOCKET_DIR=${SOCKET_DIR}
echo
echo "+---------------"
echo "| To completely deinstall the $1 package you need"
echo "| to perform these steps as root:"
echo "|"
2000-09-06 17:06:20 -04:00
echo "| userdel mysql"
echo "| groupdel mysql"
echo "| rm -rf $DB_DIR"
echo "| rm -rf $SOCKET_DIR"
echo "|"
echo "| Do not do this if you plan on re-installing $1"
echo "| at some future time."
echo "+---------------"
echo
exit 0