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>
This commit is contained in:
Chris Lamb 2008-06-20 01:32:03 +01:00
parent c05c115684
commit 733e453306
1 changed files with 1 additions and 1 deletions

View File

@ -673,7 +673,7 @@ Check_defaults ()
fi fi
fi fi
if [ "${LH_PACKAGES_LISTS}" = "stripped" ] || [ "${LH_PACKAGES_LISTS}" = "minimal" ] if echo ${LH_PACKAGES_LISTS} | grep -qs -E "(stripped|minimal)\b"
then then
if [ "${LH_APT}" = "aptitude" ] if [ "${LH_APT}" = "aptitude" ]
then then