tazwok rev 178
tazwok: use busybox wget to check file
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Sep 25 13:54:51 2010 +0200 (2010-09-25) |
parents | 290d617a88cb |
children | 850b68256543 919becf8fe71 |
files | tazwok |
line diff
1.1 --- a/tazwok Thu Sep 02 15:44:41 2010 +0200 1.2 +++ b/tazwok Sat Sep 25 13:54:51 2010 +0200 1.3 @@ -932,7 +932,7 @@ 1.4 [ -n "$SHORT_DESC" ] || echo "Package $PACKAGE has no SHORT_DESC" 1.5 [ -n "$MAINTAINER" ] || echo "Package $PACKAGE has no MAINTAINER" 1.6 case "$WGET_URL" in 1.7 - ftp*|http*) wget -s $WGET_URL 2> /dev/null || 1.8 + ftp*|http*) busybox wget -s $WGET_URL 2> /dev/null || 1.9 echo "Package $PACKAGE has a wrong WGET_URL";; 1.10 '') ;; 1.11 *) echo "Package $PACKAGE has an invalid WGET_URL";; 1.12 @@ -1471,7 +1471,7 @@ 1.13 check_src() 1.14 { 1.15 for url in $@; do 1.16 - wget -s $url 2>/dev/null && break 1.17 + busybox wget -s $url 2>/dev/null && break 1.18 done 1.19 } 1.20 if [ ! -z "$WGET_URL" ];then