summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorColin Watson <cjwatson@debian.org>2012-03-13 17:09:00 (GMT)
committerColin Watson <cjwatson@debian.org>2012-03-13 17:09:00 (GMT)
commit1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0 (patch)
tree0b91afa0f2f1a15a3c9ee2fc7d50a82816aa2907 /functions
parent733069bb97bdfe3f9c16ca4c9ef58685205eabf3 (diff)
downloaddebootstrap-1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0.zip
debootstrap-1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0.tar.gz
debootstrap-1b85c83dc9e1bd3bd087da4e4301c4a5309bf5e0.tar.bz2
Stop at the end of the retrieval phase if any packages failed to download.
Diffstat (limited to 'functions')
-rw-r--r--functions1
1 files changed, 1 insertions, 0 deletions
diff --git a/functions b/functions
index a8fdce4..edc6332 100644
--- a/functions
+++ b/functions
@@ -630,6 +630,7 @@ download_debs () {
echo >>$TARGET/debootstrap/debpaths "$p $debdest"
else
warning COULDNTDL "Couldn't download package %s (ver %s arc %s)" "$p" "$ver" "$arc"
+ leftover="$leftover $p"
fi
fi
done