diff options
author | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2003-08-30 20:22:49 +0000 |
commit | c5f0321718c1b51acf6c873f20f874a333e41399 (patch) | |
tree | d334e2fd95050def4488e848ea48612e6f9103a4 /databases | |
parent | ffb634dba4f8cf98d9303350c69feff299423c86 (diff) | |
download | pkgsrc-c5f0321718c1b51acf6c873f20f874a333e41399.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')
-rw-r--r-- | databases/mysql-server/DEINSTALL | 16 | ||||
-rw-r--r-- | databases/mysql-server/INSTALL | 10 |
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 |