summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorJulien Cristau <jcristau@debian.org>2013-03-25 15:20:31 +0100
committerJulien Cristau <jcristau@debian.org>2013-03-25 15:20:31 +0100
commit4b40f90ddbe5ce9ee74aec781abb5419e9b43918 (patch)
treed41b5e9d2beed0d2ddc84e031f356661a896099e /functions
parent56cd612223507d9744224ec4d7c0aa9c06cc9985 (diff)
downloaddebootstrap-4b40f90ddbe5ce9ee74aec781abb5419e9b43918.tar.gz
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"