summaryrefslogtreecommitdiff
path: root/databases/mysql-server
diff options
context:
space:
mode:
Diffstat (limited to 'databases/mysql-server')
-rw-r--r--databases/mysql-server/DEINSTALL16
-rw-r--r--databases/mysql-server/INSTALL10
2 files changed, 20 insertions, 6 deletions
diff --git a/databases/mysql-server/DEINSTALL b/databases/mysql-server/DEINSTALL
new file mode 100644
index 00000000000..13231db58b9
--- /dev/null
+++ b/databases/mysql-server/DEINSTALL
@@ -0,0 +1,16 @@
+# $NetBSD: DEINSTALL,v 1.4 2003/08/30 20:22:51 jlam Exp $
+
+MYSQL_DATADIR="@MYSQL_DATADIR@"
+
+case ${STAGE} in
+POST-DEINSTALL)
+ ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may want
+to remove the following directories:
+
+ ${MYSQL_DATADIR}
+===========================================================================
+EOF
+ ;;
+esac
diff --git a/databases/mysql-server/INSTALL b/databases/mysql-server/INSTALL
index d1cdecf482c..1991dcb0f2e 100644
--- a/databases/mysql-server/INSTALL
+++ b/databases/mysql-server/INSTALL
@@ -1,12 +1,10 @@
-#!/bin/sh
-#
-# $NetBSD: INSTALL,v 1.3 2003/08/30 20:05:13 seb Exp $
+# $NetBSD: INSTALL,v 1.4 2003/08/30 20:22:51 jlam Exp $
case ${STAGE} in
POST-INSTALL)
- echo "-------------------------------"
- echo "Initializing MySQL databases..."
- echo "-------------------------------"
+ ${ECHO} "-------------------------------"
+ ${ECHO} "Initializing MySQL databases..."
+ ${ECHO} "-------------------------------"
${PKG_PREFIX}/bin/mysql_install_db --force
;;
esac