Improving check for missing apt-ftparchive to check for the actual file, rather than to check for a possible missleading bootstrap flavour.

This commit is contained in:
Daniel Baumann 2012-08-27 14:07:34 +02:00
parent 8c17b89ad9
commit 6cb824c187
1 changed files with 2 additions and 2 deletions

View File

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