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:
parent
c05c115684
commit
733e453306
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue