X-Git-Url: https://git.madduck.net/code/vinst.git/blobdiff_plain/917844557b969b6d41fcfa2e87e7a8a2a37a915c..599d602fabf5b0e92a7285c40f39413dd226ff52:/di-update?ds=sidebyside diff --git a/di-update b/di-update index 22c0d56..c64224d 100755 --- a/di-update +++ b/di-update @@ -3,5 +3,11 @@ 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 $MIRROR/dists/wheezy/main/installer-${arch}/current/images/netboot +done