Migrate a In_list candidate to grep -E.

Perhaps we could .-include the In_list function?
This commit is contained in:
Chris Lamb 2008-06-20 01:32:03 +01:00 committed by Daniel Baumann
parent 5e310e0fca
commit 39310a3121
1 changed files with 1 additions and 1 deletions

View File

@ -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