summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2011-08-24 23:16:13 +0200
committerDaniel Baumann <daniel@debian.org>2011-08-24 23:16:13 +0200
commit72ec4c30be6f8834d12b0d9ca22563523d322f91 (patch)
tree5f1062faf10cb7ed47cfe17367767e5224675f87
parentad518cce947edd72293450f8ea21fe66ee892244 (diff)
downloadvyos-live-build-72ec4c30be6f8834d12b0d9ca22563523d322f91.tar.gz
vyos-live-build-72ec4c30be6f8834d12b0d9ca22563523d322f91.zip
Avoiding magic defaults for --apt-indices option when using minimal or stripped packagelist.
-rwxr-xr-xfunctions/defaults.sh7
1 files changed, 1 insertions, 6 deletions
diff --git a/functions/defaults.sh b/functions/defaults.sh
index ec283d49e..098fa8800 100755
--- a/functions/defaults.sh
+++ b/functions/defaults.sh
@@ -833,12 +833,7 @@ Set_defaults ()
;;
*)
- if echo ${LB_PACKAGE_LISTS} | grep -qs -E "(stripped|minimal)\b"
- then
- LB_APT_INDICES="${LB_APT_INDICES:-none}"
- else
- LB_APT_INDICES="${LB_APT_INDICES:-true}"
- fi
+ LB_APT_INDICES="${LB_APT_INDICES:-true}"
;;
esac