From 817f3f8cf60fd7d5449106688a5bf8111e1294a0 Mon Sep 17 00:00:00 2001
From: Daniel Baumann <daniel@debian.org>
Date: Mon, 29 Sep 2008 20:15:22 +0200
Subject: Improving indices workaround by checking LH_BOOTSTRAP_FLAVOUR rather
 than LH_PACKAGES_LISTS in order to handle chicken-egg problem for installing
 apt-utils when having bootstrapped a minimal chroot.

---
 helpers/lh_chroot_sources | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/helpers/lh_chroot_sources b/helpers/lh_chroot_sources
index 7ff87ac..c3da627 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -106,7 +106,7 @@ case "${1}" in
 				# If we bootstrapped a minimal chroot, we need
 				# to install apt-utils before we have have
 				# completed all the indices.
-				case "${LH_PACKAGES_LISTS}" in
+				case "${LH_BOOTSTRAP_FLAVOUR}" in
 					stripped|minimal)
 						Chroot "apt-get update"
 						;;
-- 
cgit v1.0