Gentoo Archives: gentoo-commits

From: "Robin H. Johnson (robbat2)" <robbat2@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in eclass: mysql.eclass
Date: Thu, 29 May 2008 05:38:55
Message-Id: E1K1aqe-0001mC-UN@stork.gentoo.org
1 robbat2 08/05/29 05:38:48
2
3 Modified: mysql.eclass
4 Log:
5 Improve the datadir warning message per bug #207636.
6
7 Revision Changes Path
8 1.95 eclass/mysql.eclass
9
10 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.95&view=markup
11 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.95&content-type=text/plain
12 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.94&r2=1.95
13
14 Index: mysql.eclass
15 ===================================================================
16 RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v
17 retrieving revision 1.94
18 retrieving revision 1.95
19 diff -p -w -b -B -u -u -r1.94 -r1.95
20 --- mysql.eclass 29 May 2008 05:33:49 -0000 1.94
21 +++ mysql.eclass 29 May 2008 05:38:48 -0000 1.95
22 @@ -1,6 +1,6 @@
23 # Copyright 1999-2007 Gentoo Foundation
24 # Distributed under the terms of the GNU General Public License v2
25 -# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.94 2008/05/29 05:33:49 robbat2 Exp $
26 +# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.95 2008/05/29 05:38:48 robbat2 Exp $
27
28 # Author: Francesco Riosa (Retired) <vivo@g.o>
29 # Maintainer: MySQL Team <mysql-bugs@g.o>
30 @@ -242,8 +242,9 @@ mysql_init_vars() {
31
32 if [[ -z "${PREVIOUS_DATADIR}" ]] ; then
33 if [[ -e "${MY_DATADIR}" ]] ; then
34 - elog "Previous datadir found, it's YOUR job to change"
35 - elog "ownership and take care of it"
36 + # If you get this and you're wondering about it, see bug #207636
37 + elog "MySQL datadir found in ${MY_DATADIR}"
38 + elog "A new one will not be created."
39 PREVIOUS_DATADIR="yes"
40 else
41 PREVIOUS_DATADIR="no"
42
43
44
45 --
46 gentoo-commits@l.g.o mailing list