summaryrefslogtreecommitdiff
path: root/functions
diff options
context:
space:
mode:
Diffstat (limited to 'functions')
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 6 insertions, 1 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index dc2c5a1..c01e7ba 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -557,7 +557,12 @@ Set_defaults ()
LH_BINARY_IMAGES="${LH_BINARY_IMAGES:-iso}"
# Setting apt indices
- LH_BINARY_INDICES="${LH_BINARY_INDICES:-enabled}"
+ if echo ${LH_PACKAGES_LISTS} | grep -qs -E "(stripped|minimal)\b"
+ then
+ LH_BINARY_INDICES="${LH_BINARY_INDICES:-none}"
+ else
+ LH_BINARY_INDICES="${LH_BINARY_INDICES:-enabled}"
+ fi
# Setting bootloader
if [ -z "${LH_BOOTLOADER}" ]