From 991139e0f6a1a4ee48c78ecbc6268fac39d33ad0 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Sat, 14 Jun 2008 17:18:54 +0100
Subject: Allow LH_APT_SECURE to disable package cdebootstrap package
 authentication

---
 helpers/lh_bootstrap_cdebootstrap | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/helpers/lh_bootstrap_cdebootstrap b/helpers/lh_bootstrap_cdebootstrap
index 0297dfc..2d04aed 100755
--- a/helpers/lh_bootstrap_cdebootstrap
+++ b/helpers/lh_bootstrap_cdebootstrap
@@ -119,6 +119,11 @@ then
 	CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
 fi
 
+if [ "${LH_APT_SECURE}" = "disabled" ]
+then
+	CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --allow-unauthenticated"
+fi
+
 if [ -x "/usr/bin/cdebootstrap" ]
 then
 	if [ "${LH_CACHE_PACKAGES}" = "enabled" ]
-- 
cgit v1.0