wok-next rev 7570

chess3d: enable engine
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 09 15:45:25 2010 +0100 (2010-12-09)
parents 31fd7ff3769f
children f15aec49d489
files chess3d/receipt
line diff
     1.1 --- a/chess3d/receipt	Thu Dec 09 05:18:16 2010 +0000
     1.2 +++ b/chess3d/receipt	Thu Dec 09 15:45:25 2010 +0100
     1.3 @@ -12,7 +12,7 @@
     1.4  {
     1.5  	mkdir $src
     1.6  	cd $src
     1.7 -	mkdir arts d_img img toledoJS
     1.8 +	mkdir arts d_img img
     1.9  	for i in C0_Toledo.htm c0_pgn.js c0_chess.js ; do
    1.10  		[ -s $i ] && continue
    1.11  		wget ${WEB_SITE}$i
    1.12 @@ -42,8 +42,9 @@
    1.13  	done
    1.14  	sed -i	-e 's/var THide=.*/var THide=1;/' \
    1.15  		-e 's/var Tnoback=.*/var Tnoback=1;/' \
    1.16 +		-e 's/c0_topview=true;/&\nc0_ch_topview();/' \
    1.17  		-e 's|http://chess.*com/||' \
    1.18 -		-e 's|http://www.ltn.lv/~gv/toledoJS/"+|toledoJS/"|' \
    1.19 +		-e 's|http://www.ltn.lv/~gv/to.*gif"|img/b_minus1.gif"|' \
    1.20  		-e "s|${WEB_SITE}||" \
    1.21  			C0_Toledo.htm
    1.22  	sed -i	-e "s|${WEB_SITE}||" *.js