wok rev 9132
Fixed sudoku to download source to SOURCES_REPOSITORY.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 05 22:49:41 2011 +0000 (2011-03-05) |
parents | ab3455634715 |
children | 957c032c10a9 |
files | sudoku/receipt |
line diff
1.1 --- a/sudoku/receipt Sun Mar 06 04:31:26 2011 +0100 1.2 +++ b/sudoku/receipt Sat Mar 05 22:49:41 2011 +0000 1.3 @@ -12,7 +12,9 @@ 1.4 { 1.5 mkdir $src 1.6 cd $src 1.7 - wget http://10k.aneventapart.com/Uploads/81/index.html 1.8 + [ -s $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html ] || \ 1.9 + wget -O $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html http://10k.aneventapart.com/Uploads/81/index.html 1.10 + cp -a $SOURCES_REPOSITORY/$PACKAGE-$VERSION.html $src/index.html 1.11 } 1.12 1.13 # Rules to gen a SliTaz package suitable for Tazpkg.