wok diff sudoku/receipt @ rev 9207

offlineimap: fix WGET_URL and paths
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Mar 10 18:39:52 2011 +0100 (2011-03-10)
parents f07dab2dcaee
children 95c870915bbb
line diff
     1.1 --- a/sudoku/receipt	Mon Dec 06 14:58:44 2010 +0800
     1.2 +++ b/sudoku/receipt	Thu Mar 10 18:39:52 2011 +0100
     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.