tazwok rev 420

tazwok: fix source path on mirror.slitaz.org (again)
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Mar 06 17:03:48 2011 +0100 (2011-03-06)
parents ee94e1a4c124
children 6db209f174b3 48072b4ca689
files tazwok
line diff
     1.1 --- a/tazwok	Sat Mar 05 21:04:28 2011 +0100
     1.2 +++ b/tazwok	Sun Mar 06 17:03:48 2011 +0100
     1.3 @@ -456,14 +456,11 @@
     1.4  		cd $SOURCES_REPOSITORY
     1.5  		if [ "$SOURCE" ]; then
     1.6  			alt_url="http://mirror.slitaz.org/sources/packages/${SOURCE:0:1}/$SOURCE-$VERSION.tar.lzma"
     1.7 -			alt_url2="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
     1.8  		else
     1.9  			alt_url="http://mirror.slitaz.org/sources/packages/${PACKAGE:0:1}/$PACKAGE-$VERSION.tar.lzma"
    1.10 -			alt_url2="http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL"
    1.11  		fi
    1.12 -		download $WGET_URL $alt_url $alt_url2 http://mirror.slitaz.org/sources/packages/${file:0:1}/$file
    1.13 +		download $WGET_URL $alt_url http://mirror.slitaz.org/sources/packages/${TARBALL:0:1}/$TARBALL
    1.14  		unset alt_url
    1.15 -		unset alt_url2
    1.16  		if [ ! -f "$SOURCES_REPOSITORY/$TARBALL" ] && \
    1.17  			[ ! -f "$SOURCES_REPOSITORY/${SOURCE:-$PACKAGE}-$VERSION.tar.lzma" ] && \
    1.18  			[ ! -d $tmp_src ]; then