summaryrefslogtreecommitdiff
path: root/helpers/lh_bootstrap_debootstrap
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_bootstrap_debootstrap')
-rwxr-xr-xhelpers/lh_bootstrap_debootstrap9
1 files changed, 4 insertions, 5 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap
index dcf1052..12b9743 100755
--- a/helpers/lh_bootstrap_debootstrap
+++ b/helpers/lh_bootstrap_debootstrap
@@ -86,11 +86,10 @@ if [ "${LH_USE_FAKEROOT}" != "enabled" ]
then
if [ -z "${LH_BOOTSTRAP_FLAVOUR}" ]
then
- case "${LH_PACKAGES_LISTS}" in
- stripped|minimal)
- DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase"
- ;;
- esac
+ if In_list "stripped minimal" "${LH_PACKAGES_LISTS}"
+ then
+ DEBOOTSTRAP_OPTIONS="${DEBOOTSTRAP_OPTIONS} --variant=minbase"
+ fi
else
case "${LH_BOOTSTRAP_FLAVOUR}" in
stripped|minimal)