Parent Directory | Revision Log | Revision Graph
* Thu Oct 28 2010 Shad L. Lords <slords@mail.com> 2.2.0-5.sme - Fix stripping of starting numbers from script [SME: 6316]
1 | slords | 1.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 ' |
admin@koozali.org | ViewVC Help |
Powered by ViewVC 1.2.1 |