wok diff chess3d/receipt @ rev 8902

chess3d: ensure files are downloaded
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 28 00:10:40 2011 +0100 (2011-02-28)
parents f15aec49d489
children 27286c6c490f
line diff
     1.1 --- a/chess3d/receipt	Thu Dec 09 15:53:06 2010 +0100
     1.2 +++ b/chess3d/receipt	Mon Feb 28 00:10:40 2011 +0100
     1.3 @@ -15,28 +15,28 @@
     1.4  	mkdir arts d_img img
     1.5  	for i in C0_Toledo.htm c0_pgn.js c0_chess.js ; do
     1.6  		[ -s $i ] && continue
     1.7 -		wget ${WEB_SITE}$i
     1.8 +		wget ${WEB_SITE}$i || return 1
     1.9  		dos2unix $i
    1.10  	done
    1.11  	for i in arts/a_arrow ; do
    1.12  		[ -s $i.gif ] && continue
    1.13 -		wget -P arts ${WEB_SITE}$i.gif
    1.14 +		wget -P arts ${WEB_SITE}$i.gif || return 1
    1.15  	done
    1.16  	for i in b_plus1 b_minus1 b_topview oie_arrow_white ; do
    1.17  		[ -s img/$i.gif ] && continue
    1.18 -		wget -P img ${WEB_SITE}img/$i.gif
    1.19 +		wget -P img ${WEB_SITE}img/$i.gif || return 1
    1.20  	done
    1.21  	for i in t oie ; do
    1.22  		for j in board letters letters2 ; do
    1.23  			f=${i}_$j.gif
    1.24  			[ -s img/$f ] && continue
    1.25 -			wget -P img ${WEB_SITE}img/$f
    1.26 +			wget -P img ${WEB_SITE}img/$f || return 1
    1.27  		done
    1.28  		for j in w b ; do
    1.29  			for k in pawn rook knight1 knight2 bishop qeen king ; do
    1.30  				f=${i}_${j}$k.gif
    1.31  				[ -s img/$f ] && continue
    1.32 -				wget -P img ${WEB_SITE}img/$f
    1.33 +				wget -P img ${WEB_SITE}img/$f || return 1
    1.34  			done
    1.35  		done
    1.36  	done