Allow LH_APT_SECURE to disable package cdebootstrap package authentication

Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
This commit is contained in:
Chris Lamb 2008-06-14 17:18:54 +01:00
parent 7918534bc5
commit cfd2990dc3
1 changed files with 5 additions and 0 deletions

View File

@ -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" ]