diff options
author | Julien Cristau <jcristau@debian.org> | 2013-03-25 15:20:31 +0100 |
---|---|---|
committer | Julien Cristau <jcristau@debian.org> | 2013-03-25 15:20:31 +0100 |
commit | 4b40f90ddbe5ce9ee74aec781abb5419e9b43918 (patch) | |
tree | d41b5e9d2beed0d2ddc84e031f356661a896099e /functions | |
parent | 56cd612223507d9744224ec4d7c0aa9c06cc9985 (diff) | |
download | debootstrap-4b40f90ddbe5ce9ee74aec781abb5419e9b43918.tar.gz |
Move extract_release_components to after signature verification.
Suggested by Ansgar Burchardt.
Diffstat (limited to 'functions')
-rw-r--r-- | functions | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |