summaryrefslogtreecommitdiff
path: root/databases/mysql-server
diff options
context:
space:
mode:
authortron <tron>2004-10-29 10:41:03 +0000
committertron <tron>2004-10-29 10:41:03 +0000
commit4f56e675c19c7bd9f4fb2326f772abc7675b6087 (patch)
tree51953b71b03dadab7b668bebf3748178f7b78b33 /databases/mysql-server
parentc8c62b7b081c1ab901359d1512e2ba1ad4c0183b (diff)
downloadpkgsrc-4f56e675c19c7bd9f4fb2326f772abc7675b6087.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