summaryrefslogtreecommitdiff
path: root/scripts/build/lb_chroot_sources
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/lb_chroot_sources')
-rwxr-xr-xscripts/build/lb_chroot_sources2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/lb_chroot_sources b/scripts/build/lb_chroot_sources
index b720aa948..e073d3ac5 100755
--- a/scripts/build/lb_chroot_sources
+++ b/scripts/build/lb_chroot_sources
@@ -650,7 +650,7 @@ EOF
mkdir -p chroot/var/cache/apt/archives/partial
# Cleaning apt package lists
- if [ "${LB_BINARY_INDICES}" = "false" ]
+ if [ "${LB_APT_INDICES}" = "false" ]
then
rm -rf chroot/var/lib/apt/lists
mkdir -p chroot/var/lib/apt/lists/partial