summaryrefslogtreecommitdiff
path: root/databases/mysql-server/DEINSTALL
diff options
context:
space:
mode:
authorzuntum <zuntum@pkgsrc.org>2001-11-01 00:11:36 +0000
committerzuntum <zuntum@pkgsrc.org>2001-11-01 00:11:36 +0000
commit0ca28723fbfb0ed88954e35bf45d7462a40a5178 (patch)
tree4ab0dde6ed9cb6e40d9d477547ce6363396ec676 /databases/mysql-server/DEINSTALL
parent380b33c5710509b50346db575cddab2e83c39c2d (diff)
downloadpkgsrc-0ca28723fbfb0ed88954e35bf45d7462a40a5178.tar.gz
Move pkg/ files into package's toplevel directory
Diffstat (limited to 'databases/mysql-server/DEINSTALL')
-rw-r--r--databases/mysql-server/DEINSTALL32
1 files changed, 32 insertions, 0 deletions
diff --git a/databases/mysql-server/DEINSTALL b/databases/mysql-server/DEINSTALL
new file mode 100644
index 00000000000..bf7c32be686
--- /dev/null
+++ b/databases/mysql-server/DEINSTALL
@@ -0,0 +1,32 @@
+#!/bin/sh
+#
+# $NetBSD: DEINSTALL,v 1.1 2001/11/01 00:11:53 zuntum Exp $
+
+PKGNAME=$1
+STAGE=$2
+
+MYSQL_DATADIR="@MYSQL_DATADIR@"
+
+CAT="@CAT@"
+
+case ${STAGE} in
+DEINSTALL)
+ ;;
+
+POST-DEINSTALL)
+ ${CAT} << EOF
+===========================================================================
+If you won't be using ${PKGNAME} any longer, you may want
+to remove the following directories:
+
+ ${MYSQL_DATADIR}
+===========================================================================
+EOF
+ ;;
+
+*)
+ echo "Unexpected argument: ${STAGE}"
+ exit 1
+ ;;
+esac
+exit 0