diff options
Diffstat (limited to 'helpers/lh_bootstrap_debootstrap')
-rwxr-xr-x | helpers/lh_bootstrap_debootstrap | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/helpers/lh_bootstrap_debootstrap b/helpers/lh_bootstrap_debootstrap index dcf1052b0..12b974326 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) |