SOURCES (DEVEL): mysql.init - replace $hostname in sql data
glen
glen at pld-linux.org
Thu Nov 2 13:14:56 CET 2006
Author: glen Date: Thu Nov 2 12:14:56 2006 GMT
Module: SOURCES Tag: DEVEL
---- Log message:
- replace $hostname in sql data
---- Files affected:
SOURCES:
mysql.init (1.105.2.1 -> 1.105.2.2)
---- Diffs:
================================================================
Index: SOURCES/mysql.init
diff -u SOURCES/mysql.init:1.105.2.1 SOURCES/mysql.init:1.105.2.2
--- SOURCES/mysql.init:1.105.2.1 Thu Nov 2 13:13:44 2006
+++ SOURCES/mysql.init Thu Nov 2 13:14:50 2006
@@ -381,7 +381,7 @@
CREATE DATABASE mysql;
use mysql;
$(cat /usr/share/mysql/init_db.sql)
- $(cat /usr/share/mysql/init_db-data.sql)
+ $(sed -e "s,\$hostname,$hostname,g" /usr/share/mysql/init_db-data.sql)
END_OF_DATA
then
================================================================
---- CVS-web:
http://cvs.pld-linux.org/SOURCES/mysql.init?r1=1.105.2.1&r2=1.105.2.2&f=u
More information about the pld-cvs-commit
mailing list