cookutils rev 458
cook: Use $MIRROR_URL variable in slitaz.conf.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Jun 07 05:23:19 2012 +0000 (2012-06-07) |
parents | b7fc4308e7b4 |
children | b75b26c696d0 6950b1a416cf |
files | cook |
line diff
1.1 --- a/cook Tue Jun 05 09:37:14 2012 +0000 1.2 +++ b/cook Thu Jun 07 05:23:19 2012 +0000 1.3 @@ -236,7 +236,7 @@ 1.4 extract_source() { 1.5 if [ ! -s "$SRC/$TARBALL" ]; then 1.6 local url 1.7 - url="http://mirror.slitaz.org/sources/packages" 1.8 + url="$MIRROR_URL/sources/packages" 1.9 url=$url/${TARBALL:0:1}/$TARBALL 1.10 gettext "Getting source from mirror:"; echo " $url" 1.11 busybox wget -c -P $SRC $url || echo -e "ERROR: wget $url"