diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/build/bootstrap_debootstrap | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap index 48a20fe19..6efb7e8a2 100755 --- a/scripts/build/bootstrap_debootstrap +++ b/scripts/build/bootstrap_debootstrap @@ -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 |