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:
parent
0d4b464370
commit
849873daca
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue