summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-05-29 05:38:48 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-05-29 05:38:48 +0000
commit2dffcd5f2319d74c48b11e009c34edc96d4ecb5f (patch)
tree8c9f56d730d5abdc3549dd959f0fa7d2be305ab8 /eclass
parentFix whitespace. (diff)
downloadgentoo-2-2dffcd5f2319d74c48b11e009c34edc96d4ecb5f.tar.gz
gentoo-2-2dffcd5f2319d74c48b11e009c34edc96d4ecb5f.tar.bz2
gentoo-2-2dffcd5f2319d74c48b11e009c34edc96d4ecb5f.zip
Improve the datadir warning message per bug #207636.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/mysql.eclass7
1 files changed, 4 insertions, 3 deletions
diff --git a/eclass/mysql.eclass b/eclass/mysql.eclass
index 8ec6ab0aab36..f0ed1ca362c0 100644
--- a/eclass/mysql.eclass
+++ b/eclass/mysql.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.94 2008/05/29 05:33:49 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.95 2008/05/29 05:38:48 robbat2 Exp $
# Author: Francesco Riosa (Retired) <vivo@gentoo.org>
# Maintainer: MySQL Team <mysql-bugs@gentoo.org>
@@ -242,8 +242,9 @@ mysql_init_vars() {
if [[ -z "${PREVIOUS_DATADIR}" ]] ; then
if [[ -e "${MY_DATADIR}" ]] ; then
- elog "Previous datadir found, it's YOUR job to change"
- elog "ownership and take care of it"
+ # If you get this and you're wondering about it, see bug #207636
+ elog "MySQL datadir found in ${MY_DATADIR}"
+ elog "A new one will not be created."
PREVIOUS_DATADIR="yes"
else
PREVIOUS_DATADIR="no"