]> git.madduck.net Git - code/vinst.git/blobdiff - di-update

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

multi-suite for di-update
[code/vinst.git] / di-update
index 22c0d56b2ceffb6244b9b8f5f2489996666d84fd..a004ce781386d1385b20e381a0853236939f30dd 100755 (executable)
--- a/di-update
+++ b/di-update
@@ -2,6 +2,11 @@
 set -eu
 
 MIRROR=ftp://ftp2.de.debian.org/debian
 set -eu
 
 MIRROR=ftp://ftp2.de.debian.org/debian
+SUITES="wheezy jessie"
 
 
-cd installer-amd64
-exec wget -c -np -nH -m --cut-dirs=5 $MIRROR/dists/wheezy/main/installer-amd64/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