diff options
author | tron <tron@pkgsrc.org> | 2004-10-29 10:41:03 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2004-10-29 10:41:03 +0000 |
commit | 2c338560975ab81972983904f2762968b49ac6cb (patch) | |
tree | 51953b71b03dadab7b668bebf3748178f7b78b33 /databases/mysql-server | |
parent | e0d4fc7123886d98121cfc72e9e7eaeba2c2e3a4 (diff) | |
download | pkgsrc-2c338560975ab81972983904f2762968b49ac6cb.tar.gz |
Add missing deinstallation script.
Diffstat (limited to 'databases/mysql-server')
-rw-r--r-- | databases/mysql-server/DEINSTALL | 16 |
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 |