50345c3bfd
long.
24 lines
548 B
Plaintext
24 lines
548 B
Plaintext
# $OpenBSD: DEINSTALL-server,v 1.2 2001/06/02 21:57:05 brad Exp $
|
|
#
|
|
# MySQL de-installation
|
|
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
DB_DIR=${DB_DIR}
|
|
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To completely deinstall the $1 package you need"
|
|
echo "| to perform these steps as root:"
|
|
echo "|"
|
|
echo "| userdel mysql"
|
|
echo "| groupdel mysql"
|
|
echo "| rm -rf $DB_DIR"
|
|
echo "|"
|
|
echo "| Do not do this if you plan on re-installing $1"
|
|
echo "| at some future time."
|
|
echo "+---------------"
|
|
echo
|
|
|
|
exit 0
|