SOURCES (DEVEL): mysql.init - allow $BASE_TABLETYPE in service mys...

glen glen at pld-linux.org
Fri Nov 3 13:48:34 CET 2006


Author: glen                         Date: Fri Nov  3 12:48:34 2006 GMT
Module: SOURCES                       Tag: DEVEL
---- Log message:
- allow $BASE_TABLETYPE in service mysql init

---- Files affected:
SOURCES:
   mysql.init (1.105.2.2 -> 1.105.2.3) 

---- Diffs:

================================================================
Index: SOURCES/mysql.init
diff -u SOURCES/mysql.init:1.105.2.2 SOURCES/mysql.init:1.105.2.3
--- SOURCES/mysql.init:1.105.2.2	Thu Nov  2 13:14:50 2006
+++ SOURCES/mysql.init	Fri Nov  3 13:48:29 2006
@@ -380,7 +380,7 @@
 
 		CREATE DATABASE mysql;
 		use mysql;
-		$(cat /usr/share/mysql/init_db.sql)
+		$(sed -e "s, at ENGINE@,$BASE_TABLETYPE," /usr/share/mysql/init_db.sql)
 		$(sed -e "s,\$hostname,$hostname,g" /usr/share/mysql/init_db-data.sql)
 END_OF_DATA
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SOURCES/mysql.init?r1=1.105.2.2&r2=1.105.2.3&f=u



More information about the pld-cvs-commit mailing list