From 849873daca23a2f0939a4a6cd0b68d1d75eea05b Mon Sep 17 00:00:00 2001 From: jnqnfe Date: Thu, 22 Jan 2015 15:12:01 +0000 Subject: [PATCH] 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 --- scripts/build/bootstrap_debootstrap | 3 +-- 1 file changed, 1 insertion(+), 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