summaryrefslogtreecommitdiff
path: root/databases/mysql-server
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
committerjlam <jlam@pkgsrc.org>2003-08-30 20:22:49 +0000
commit2920a32c71bae3a6a02b2c5c0576d9a60b9a0594 (patch)
treed334e2fd95050def4488e848ea48612e6f9103a4 /databases/mysql-server
parent2ebf5a7dc8b33d5f29466890b65a69e886f19281 (diff)
downloadpkgsrc-2920a32c71bae3a6a02b2c5c0576d9a60b9a0594.tar.gz
Prepare for pkgviews by making sure that passing VIEW-INSTALL or
VIEW-DEINSTALL to the INSTALL/DEINSTALL scripts don't cause errors.
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