summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
authorChris Lamb <chris@chris-lamb.co.uk>2008-06-20 01:32:03 +0100
committerChris Lamb <chris@chris-lamb.co.uk>2008-06-20 01:32:03 +0100
commit733e45330642e61321cf1c79cb0579043ec0030f (patch)
treee306256fa5ed8475e2394110b0e542323b847b54 /functions
parentc05c115684ef08c0a9b8a9c0df0fe6243a4b0c29 (diff)
downloadvyos-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>
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh2
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