wok-6.x rev 8487
get-xlite: update URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 08 22:23:32 2011 +0100 (2011-02-08) |
parents | 72de3d65c27c |
children | 28f06a85ec86 |
files | get-xlite/stuff/get-xlite |
line diff
1.1 --- a/get-xlite/stuff/get-xlite Tue Feb 08 16:00:18 2011 +0000 1.2 +++ b/get-xlite/stuff/get-xlite Tue Feb 08 22:23:32 2011 +0100 1.3 @@ -15,15 +15,32 @@ 1.4 fi 1.5 1.6 WEB_SITE="http://www.counterpath.net/" 1.7 -URL="http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz" 1.8 1.9 TMP_DIR=/tmp/get-xlite-$$-$RANDOM 1.10 CUR_DIR=$(pwd) 1.11 mkdir -p $TMP_DIR && cd $TMP_DIR 1.12 1.13 # Download tarball 1.14 -wget $URL 1.15 -TARBALL="$(basename $URL)" 1.16 +while read URL; do 1.17 + wget $URL 1.18 + TARBALL="$(basename $URL)" 1.19 + [ -s $TARBALL ] && break 1.20 +done <<EOT 1.21 +http://counterpath.s3.amazonaws.com/downloads/X-Lite_Install.tar.gz 1.22 +ftp://ftp.uni-frankfurt.de/pub/Mirrors2/gentoo.org/distfiles/X-Lite_Install.tar.gz 1.23 +ftp://ftp.secyt.gov.ar/pub/software/X-Lite_Install.tar.gz 1.24 +ftp://ftp.prz.rzeszow.pl/pub/gentoo/source/distfiles/X-Lite_Install.tar.gz 1.25 +ftp://ftp.nz.debian.org/gentoo/distfiles/X-Lite_Install.tar.gz 1.26 +ftp://ftp.port80.se/gentoo/distfiles/X-Lite_Install.tar.gz 1.27 +ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/distfiles/X-Lite_Install.tar.gz 1.28 +ftp://ftp.wh8.tu-dresden.de/pub/linux/distributions/gentoo/distfiles/X-Lite_Install.tar.gz 1.29 +ftp://ftp.swin.edu.au/gentoo/distfiles/X-Lite_Install.tar.gz 1.30 +ftp://ftp.mgts.by/pub/gentoo/distfiles/X-Lite_Install.tar.gz 1.31 +ftp://ftp.uni-kassel.de/Mirrors/ftp.fhh.opensource-mirror.de/gentoo/distfiles/X-Lite_Install.tar.gz 1.32 +ftp://ftp.cs.mun.ca/pub/mirror/gentoo/distfiles/X-Lite_Install.tar.gz 1.33 +ftp://ftp.free.fr/.mirrors1/ftp.gentoo.org/distfiles/X-Lite_Install.tar.gz 1.34 +ftp://ftp.fi.debian.org/pub/gentoo/distfiles/X-Lite_Install.tar.gz 1.35 +EOT 1.36 if [ ! -f $TARBALL ]; then 1.37 cd $CUR_DIR 1.38 rm -rf $TMP_DIR