tazpkg diff tazpkg @ rev 562
Fix: don't automatically switch to main SliTaz mirror; it prevent us to use the mirror we want to
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Mar 05 16:31:05 2012 +0100 (2012-03-05) |
parents | 25ebb1a6e665 |
children | 0c46c686099b |
line diff
1.1 --- a/tazpkg Thu Mar 01 18:22:00 2012 +0000 1.2 +++ b/tazpkg Mon Mar 05 16:31:05 2012 +0100 1.3 @@ -2310,14 +2310,6 @@ 1.4 status 1.5 fi 1.6 1.7 - # Make sure we use the first mirror of mirrors list. 1.8 - download_from ${primary_mirror%%packages/*} mirrors 1.9 - [ -f mirrors ] || mv mirrors.bak mirrors 2> /dev/null 1.10 - if [ -s mirrors ]; then 1.11 - primary_mirror="$(head -1 mirrors)packages${primary_mirror#*/packages}" 1.12 - echo $primary_mirror > mirror 1.13 - fi 1.14 - 1.15 for i in desc md5 txt list equiv; do 1.16 download_from $primary_mirror packages.$i 1.17 done