Avoiding magic defaults for --apt-indices option when using minimal or stripped packagelist.

This commit is contained in:
Daniel Baumann 2011-08-24 23:16:13 +02:00
parent ad518cce94
commit 72ec4c30be
1 changed files with 1 additions and 6 deletions

View File

@ -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