X-Git-Url: https://git.madduck.net/code/vinst.git/blobdiff_plain/e5ea710926dc73f39dc9920237d8557c79ad0e5a..a7ee140401c5f29feb091bb1ac93482174be2015:/di-update?ds=sidebyside diff --git a/di-update b/di-update index 22c0d56..e8f35fb 100755 --- a/di-update +++ b/di-update @@ -3,5 +3,12 @@ set -eu MIRROR=ftp://ftp2.de.debian.org/debian -cd installer-amd64 -exec wget -c -np -nH -m --cut-dirs=5 $MIRROR/dists/wheezy/main/installer-amd64/current/images/netboot +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 +done