diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-20 01:31:21 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:36 +0100 |
commit | 5e310e0fcaa0f41fd079b9ef8c35daffb92801ef (patch) | |
tree | 4f573feba9e638585b7fd1662005473485ff48bf /helpers/lh_bootstrap_debootstrap | |
parent | b7ccfa63cac8e9cbfd3e2cf5173c21f148e2a23e (diff) | |
download | live-build-5e310e0fcaa0f41fd079b9ef8c35daffb92801ef.zip live-build-5e310e0fcaa0f41fd079b9ef8c35daffb92801ef.tar.gz |
Migrate a few uses of grep to In_list.
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 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) |