pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/databases/mysql-server Add missing deinstallation script.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2b2deaef75d6
branches:  trunk
changeset: 482525:2b2deaef75d6
user:      tron <tron%pkgsrc.org@localhost>
date:      Fri Oct 29 10:41:03 2004 +0000

description:
Add missing deinstallation script.

diffstat:

 databases/mysql-server/DEINSTALL |  16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)

diffs (20 lines):

diff -r acb19fb316a1 -r 2b2deaef75d6 databases/mysql-server/DEINSTALL
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/databases/mysql-server/DEINSTALL  Fri Oct 29 10:41:03 2004 +0000
@@ -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



Home | Main Index | Thread Index | Old Index