summaryrefslogtreecommitdiff
path: root/databases/mysql-server
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2004-10-29 10:41:03 +0000
committertron <tron@pkgsrc.org>2004-10-29 10:41:03 +0000
commit2c338560975ab81972983904f2762968b49ac6cb (patch)
tree51953b71b03dadab7b668bebf3748178f7b78b33 /databases/mysql-server
parente0d4fc7123886d98121cfc72e9e7eaeba2c2e3a4 (diff)
downloadpkgsrc-2c338560975ab81972983904f2762968b49ac6cb.tar.gz
Add missing deinstallation script.
Diffstat (limited to 'databases/mysql-server')
-rw-r--r--databases/mysql-server/DEINSTALL16
1 files changed, 16 insertions, 0 deletions
diff --git a/databases/mysql-server/DEINSTALL b/databases/mysql-server/DEINSTALL
new file mode 100644
index 00000000000..f65239b7d27
--- /dev/null
+++ b/databases/mysql-server/DEINSTALL
@@ -0,0 +1,16 @@
+# $NetBSD: DEINSTALL,v 1.6 2004/10/29 10:41:03 tron Exp $
+
+case ${STAGE} in
+POST-DEINSTALL)
+ if [ -d @MYSQL_DATADIR@ ]; then
+ ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, and you don't
+wish to preserve your existing databases, then you may remove the
+following directory:
+
+ @MYSQL_DATADIR@
+===========================================================================
+EOF
+ fi
+esac