From 0b7f92c7dc6c54c5ddc6057e8640ac909c721fe4 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Wed, 12 Nov 2014 17:41:33 +0100 Subject: [PATCH] multi-suite for di-update --- di-update | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) 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 -- 2.39.5