[Lunar-commits] <moonbase> mysql: fix the compile.
Florin Braescu
florin at lunar-linux.org
Mon Feb 22 22:07:33 CET 2010
commit ed077e6ef17c1ce4f0aa63e504dec1b2dc42e9c3
Author: Florin Braescu <florin at lunar-linux.org>
Date: Mon Feb 22 23:07:33 2010 +0200
mysql: fix the compile.
---
sql/mysql/BUILD | 12 ------------
sql/mysql/CONFIGURE | 13 +++++++++++++
2 files changed, 13 insertions(+), 12 deletions(-)
diff --git a/sql/mysql/BUILD b/sql/mysql/BUILD
index 320c46d..526fb48 100644
--- a/sql/mysql/BUILD
+++ b/sql/mysql/BUILD
@@ -1,17 +1,5 @@
(
- message " "
- message " ${PROBLEM_COLOR}Warning! ${DEFAULT_COLOR}Database backup have to be done to avoid any data loss during migration."
- message " "
- query INSTALL "Have you done data backup (y/n)? " n
-
- if ! [ "$INSTALL" == "y" ] ; then
- message " "
- message " ${DEFAULT_COLOR}Please consult first http://dev.mysql.com/doc/refman/5.1/en/upgrade.html before installing."
- sleep 5
- exit 1
- fi
-
add_priv_user mysql:mysql &&
devoke_installwatch &&
diff --git a/sql/mysql/CONFIGURE b/sql/mysql/CONFIGURE
index d0705aa..3fa7da9 100644
--- a/sql/mysql/CONFIGURE
+++ b/sql/mysql/CONFIGURE
@@ -1,3 +1,16 @@
+message " "
+message " ${PROBLEM_COLOR}Warning! ${DEFAULT_COLOR}Database backup have to be done to avoid any data loss during migration."
+message " "
+
+if ! query "Have you done data backup (y/n)? " n; then
+ message " "
+ message " ${DEFAULT_COLOR}Please consult first http://dev.mysql.com/doc/refman/5.1/en/upgrade.html before installing."
+ message " "
+ sleep 5
+ exit 1
+fi
+message " "
+
if ! grep -q CONFIGURED $MODULE_CONFIG; then
if query "Install client only? " n; then
More information about the Lunar-commits
mailing list