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 | 5d0bf40873d1c889421d6b45e1d9024c9cea6e32 (patch) | |
tree | 51953b71b03dadab7b668bebf3748178f7b78b33 /databases/mysql-server | |
parent | 0ceb54cf9d946eb698aecb2ebca74a44de4a2747 (diff) | |
download | pkgsrc-5d0bf40873d1c889421d6b45e1d9024c9cea6e32.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 |