bootstrap: drop obsolete check for `--no-check-gpg` support in debootstrap

This has been present in debootstrap since version 1.0.30.

Gbp-Dch: Short
Closes: #952847
This commit is contained in:
jnqnfe 2015-01-22 15:12:01 +00:00 committed by Raphaël Hertzog
parent 0d4b464370
commit 849873daca
1 changed files with 1 additions and 2 deletions

View File

@ -71,8 +71,7 @@ then
fi
# If LB_APT_SECURE is false, do not check signatures of the Release file
# (requires debootstrap >= 1.0.30)
if [ "${LB_APT_SECURE}" = "false" ] && /usr/sbin/debootstrap --help | grep -qs '\-\-no-check-gpg'
if [ "${LB_APT_SECURE}" = "false" ]
then
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --no-check-gpg"
fi