summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2012-08-27 14:07:34 +0200
committerDaniel Baumann <daniel@debian.org>2012-08-27 14:07:34 +0200
commit6cb824c187d60e86d07514a648ee6dec10f47714 (patch)
tree2f876b7d5375026034baf32324e94f8dda3d149e /scripts
parent8c17b89ad903693d7f1bc208cdb1d0b55768c6fe (diff)
downloadvyos-live-build-6cb824c187d60e86d07514a648ee6dec10f47714.tar.gz
vyos-live-build-6cb824c187d60e86d07514a648ee6dec10f47714.zip
Improving check for missing apt-ftparchive to check for the actual file, rather than to check for a possible missleading bootstrap flavour.
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/build/lb_chroot_archives4
1 files 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