summaryrefslogtreecommitdiffstats
path: root/scripts/build/bootstrap_debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/bootstrap_debootstrap')
-rwxr-xr-xscripts/build/bootstrap_debootstrap3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/build/bootstrap_debootstrap b/scripts/build/bootstrap_debootstrap
index eded38c98..b95475e13 100755
--- a/scripts/build/bootstrap_debootstrap
+++ b/scripts/build/bootstrap_debootstrap
@@ -77,7 +77,8 @@ then
fi
# Include apt-transport-https
-if grep -qs '^deb https' config/archives/*.list.*
+if grep -qs '^deb https' config/archives/*.list ||
+ grep -qs '^deb https' config/archives/*.list.*
then
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --include=apt-transport-https,ca-certificates"
fi