Migrate a In_list candidate to grep -E.
Perhaps we could .-include the In_list function?
This commit is contained in:
parent
5e310e0fca
commit
39310a3121
|
@ -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