diff options
author | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-20 01:32:03 +0100 |
---|---|---|
committer | Chris Lamb <chris@chris-lamb.co.uk> | 2008-06-20 01:32:03 +0100 |
commit | 733e45330642e61321cf1c79cb0579043ec0030f (patch) | |
tree | e306256fa5ed8475e2394110b0e542323b847b54 | |
parent | c05c115684ef08c0a9b8a9c0df0fe6243a4b0c29 (diff) | |
download | vyos-live-build-733e45330642e61321cf1c79cb0579043ec0030f.tar.gz vyos-live-build-733e45330642e61321cf1c79cb0579043ec0030f.zip |
Migrate a In_list candidate to grep -E.
Perhaps we could .-include the In_list function?
Signed-off-by: Chris Lamb <chris@chris-lamb.co.uk>
-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 d4c12dacc..027d13739 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 |