1 |
diff -up e-smith-mysql-2.2.0/root/etc/rc.d/init.d/mysql.init.fix_number_strip e-smith-mysql-2.2.0/root/etc/rc.d/init.d/mysql.init |
2 |
--- e-smith-mysql-2.2.0/root/etc/rc.d/init.d/mysql.init.fix_number_strip 2008-10-07 11:36:21.000000000 -0600 |
3 |
+++ e-smith-mysql-2.2.0/root/etc/rc.d/init.d/mysql.init 2010-10-28 12:11:32.000000000 -0600 |
4 |
@@ -42,7 +42,7 @@ do |
5 |
export HOME |
6 |
for link in $(find /etc/e-smith/sql/init -type f -o -type l | sort) |
7 |
do |
8 |
- F=$(basename $link | sed s/S[0-9][0-9]//) |
9 |
+ F=$(basename $link | sed 's/S\?[0-9][0-9]_\?//') |
10 |
case $F in |
11 |
*.sql) |
12 |
action "Loading $F into mysql" perl -e ' |