From ad5c5bc2c726983992c61f681e2394b38000cb18 Mon Sep 17 00:00:00 2001
From: Chris Lamb <chris@chris-lamb.co.uk>
Date: Fri, 4 Jul 2008 22:29:43 +0100
Subject: Fix caching of APT indices (Closes: #478744)

I've tested this the cross-product of LH_APT={apt,aptitude} and
LH_APT_SECURE={enabled,disabled} with no problems.
---
 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 981692b..42b92ea 100755
--- a/helpers/lh_chroot_sources
+++ b/helpers/lh_chroot_sources
@@ -228,7 +228,7 @@ case "${1}" in
 					cp -f chroot/var/lib/apt/lists/*_Sources cache/indices_bootstrap
 				fi
 
-				cp -f chroot/var/lib/apt/*_Release* cache/indices_bootstrap
+				cp -f chroot/var/lib/apt/lists/*_Release* cache/indices_bootstrap
 			fi
 		fi
 
-- 
cgit v1.0