summaryrefslogtreecommitdiffstats
path: root/functions
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2013-03-25 14:20:31 (GMT)
committerJulien Cristau <jcristau@debian.org>2013-03-25 14:20:31 (GMT)
commit4b40f90ddbe5ce9ee74aec781abb5419e9b43918 (patch)
treed41b5e9d2beed0d2ddc84e031f356661a896099e /functions
parent56cd612223507d9744224ec4d7c0aa9c06cc9985 (diff)
downloaddebootstrap-4b40f90ddbe5ce9ee74aec781abb5419e9b43918.zip
debootstrap-4b40f90ddbe5ce9ee74aec781abb5419e9b43918.tar.gz
debootstrap-4b40f90ddbe5ce9ee74aec781abb5419e9b43918.tar.bz2
Move extract_release_components to after signature verification.
Suggested by Ansgar Burchardt.
Diffstat (limited to 'functions')
-rw-r--r--functions3
1 files changed, 2 insertions, 1 deletions
diff --git a/functions b/functions
index 068aa06..2dc777d 100644
--- a/functions
+++ b/functions
@@ -532,11 +532,12 @@ download_release_indices () {
get "$m1/dists/$SUITE/Release" "$reldest" nocache ||
error 1 NOGETREL "Failed getting release file %s" "$m1/dists/$SUITE/Release"
relsigdest="$TARGET/$($DLDEST rel "$SUITE" "$m1" "dists/$SUITE/Release.gpg")"
- extract_release_components $reldest
progress 100 100 DOWNREL "Downloading Release file"
download_release_sig "$m1" "$reldest" "$relsigdest"
+ extract_release_components $reldest
+
local totalpkgs=0
for c in $COMPONENTS; do
local subpath="$c/binary-$ARCH/Packages"