X-Git-Url: https://git.madduck.net/code/vinst.git/blobdiff_plain/e5ea710926dc73f39dc9920237d8557c79ad0e5a..5e85da2495bdbb347e48899e5cc627252f5ac048:/di-update 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