6f39e9630f
- make the default database directory a bit easier to change with the DB_DIR variable - add warning about possible virtual memory limit exhaustion - change default database directory to /var/mysql and chown it to the user:group - integrate check_old_version script into Makefile - we should be able to make this into a full package now, though not tested fully - install user:group of mysql and make MySQL load as user mysql Reviewed and tested by: ericj@
23 lines
495 B
Plaintext
23 lines
495 B
Plaintext
# $OpenBSD: DEINSTALL,v 1.1 2000/01/01 05:54:13 brad Exp $
|
|
#
|
|
# MySQL de-installation
|
|
|
|
set -e
|
|
PATH=/bin:/usr/bin:/sbin:/usr/sbin
|
|
PREFIX=${PKG_PREFIX:-/usr/local}
|
|
|
|
echo
|
|
echo "+---------------"
|
|
echo "| To completely deinstall the $1 package you need to perform"
|
|
echo "| these steps as root:"
|
|
echo "|"
|
|
echo "| rmuser mysql"
|
|
echo "| rmgroup mysql"
|
|
echo "|"
|
|
echo "| Do not do this if you plan on re-installing $1"
|
|
echo "| at some future time."
|
|
echo "+---------------"
|
|
echo
|
|
|
|
exit 0
|