summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
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 d4c12da..027d137 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