cookutils diff cook @ 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 | bb5160390733 |
children | bcc19cb3b325 6950b1a416cf |
line diff
1.1 --- a/cook Mon Jun 04 16:44:34 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"