From: martin f. krafft Date: Wed, 12 Nov 2014 16:41:33 +0000 (+0100) Subject: multi-suite for di-update X-Git-Url: https://git.madduck.net/code/vinst.git/commitdiff_plain/0b7f92c7dc6c54c5ddc6057e8640ac909c721fe4?hp=49daa40014e07fd1a3edf8d6f2e9f3f69bbe0166 multi-suite for di-update --- diff --git a/di-update b/di-update index e8f35fb..a004ce7 100755 --- a/di-update +++ b/di-update @@ -2,13 +2,11 @@ set -eu MIRROR=ftp://ftp2.de.debian.org/debian +SUITES="wheezy jessie" -cd ${0%/*} -BASEDIR=$PWD - -for arch in amd64 i386; do - mkdir --parent $BASEDIR/installer-${arch} - cd $BASEDIR/installer-${arch} - wget -c -np -nH -m --cut-dirs=5 -l1 $MIRROR/dists/wheezy/main/installer-${arch}/current/images/ - wget -c -np -nH -m --cut-dirs=5 $MIRROR/dists/wheezy/main/installer-${arch}/current/images/netboot +for s in $SUITES; do + mkdir -p installer-amd64/$s + cd installer-amd64/$s + wget -c -np -nH -m --cut-dirs=5 $MIRROR/dists/$s/main/installer-amd64/current/images/netboot + cd - done