diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-20 01:32:03 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:03:36 +0100 |
commit | 39310a31214ca2d8bf8ae6c6d91477b32fb25ee2 (patch) | |
tree | e306256fa5ed8475e2394110b0e542323b847b54 /functions | |
parent | 5e310e0fcaa0f41fd079b9ef8c35daffb92801ef (diff) | |
download | live-build-39310a31214ca2d8bf8ae6c6d91477b32fb25ee2.zip live-build-39310a31214ca2d8bf8ae6c6d91477b32fb25ee2.tar.gz |
Migrate a In_list candidate to grep -E.
Perhaps we could .-include the In_list function?
Diffstat (limited to 'functions')
-rwxr-xr-x | functions/defaults.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh index d4c12da..027d137 100755 --- a/functions/defaults.sh +++ b/functions/defaults.sh @@ -673,7 +673,7 @@ Check_defaults () fi fi - if [ "${LH_PACKAGES_LISTS}" = "stripped" ] || [ "${LH_PACKAGES_LISTS}" = "minimal" ] + if echo ${LH_PACKAGES_LISTS} | grep -qs -E "(stripped|minimal)\b" then if [ "${LH_APT}" = "aptitude" ] then |