From 6cb824c187d60e86d07514a648ee6dec10f47714 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Mon, 27 Aug 2012 14:07:34 +0200 Subject: [PATCH] Improving check for missing apt-ftparchive to check for the actual file, rather than to check for a possible missleading bootstrap flavour. --- scripts/build/lb_chroot_archives | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/build/lb_chroot_archives b/scripts/build/lb_chroot_archives index 3281a0cf3..1d0bee92c 100755 --- a/scripts/build/lb_chroot_archives +++ b/scripts/build/lb_chroot_archives @@ -340,9 +340,9 @@ EOF if Find_files chroot/root/packages/*.deb then # If we bootstrapped a minimal chroot, we need - # to install apt-utils before we have have + # to install apt-utils before we have # completed all the indices. - if [ "${LB_BOOTSTRAP_FLAVOUR}" != "standard" ] + if [ ! -e chroot/usr/bin/apt-ftparchive ] then Apt chroot update fi