Support LH_BOOTSTRAP_FLAVOUR="standard" when using debootstrap

cdebootstrap will accept --variant=standard, but debootstrap does
not; this patch means that we don't try and pass it to
debootstrap - this can happen if switching between the two
utilities.
This commit is contained in:
Chris Lamb 2009-08-04 23:54:56 +01:00 committed by Daniel Baumann
parent e554c785c9
commit 29c423b89a
1 changed files with 2 additions and 0 deletions

View File

@ -90,6 +90,8 @@ then
stripped|minimal) stripped|minimal)
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase" DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase"
;; ;;
standard)
;;
*) *)
DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=${LH_BOOTSTRAP_FLAVOUR}" DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=${LH_BOOTSTRAP_FLAVOUR}"