[Lunar-commits] <moonbase> Revert "mysql: fix the compile."

Florin Braescu florin at lunar-linux.org
Thu Feb 25 18:00:46 CET 2010


commit 726ee2e2d6a68eef42f591c83cb2837ec0881338
Author: Florin Braescu <florin at lunar-linux.org>
Date:   Thu Feb 25 19:00:46 2010 +0200

    Revert "mysql: fix the compile."
    
    This reverts commit ed077e6ef17c1ce4f0aa63e504dec1b2dc42e9c3.
    
    mysql: second step to revert.
---
 sql/mysql/BUILD     |   12 ++++++++++++
 sql/mysql/CONFIGURE |   13 -------------
 2 files changed, 12 insertions(+), 13 deletions(-)

diff --git a/sql/mysql/BUILD b/sql/mysql/BUILD
index 526fb48..320c46d 100644
--- a/sql/mysql/BUILD
+++ b/sql/mysql/BUILD
@@ -1,5 +1,17 @@
 (
 
+  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 3fa7da9..d0705aa 100644
--- a/sql/mysql/CONFIGURE
+++ b/sql/mysql/CONFIGURE
@@ -1,16 +1,3 @@
-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