Allow LH_APT_SECURE to disable package cdebootstrap package authentication

This commit is contained in:
Chris Lamb 2008-06-14 17:18:54 +01:00 committed by Daniel Baumann
parent 25ad66e62d
commit 991139e0f6
1 changed files with 5 additions and 0 deletions

View File

@ -119,6 +119,11 @@ then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose" CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --verbose"
fi fi
if [ "${LH_APT_SECURE}" = "disabled" ]
then
CDEBOOTSTRAP_OPTIONS="${CDEBOOTSTRAP_OPTIONS} --allow-unauthenticated"
fi
if [ -x "/usr/bin/cdebootstrap" ] if [ -x "/usr/bin/cdebootstrap" ]
then then
if [ "${LH_CACHE_PACKAGES}" = "enabled" ] if [ "${LH_CACHE_PACKAGES}" = "enabled" ]