diff options
author | Daniel Baumann <daniel@debian.org> | 2012-08-27 14:07:34 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2012-08-27 14:07:34 +0200 |
commit | 6cb824c187d60e86d07514a648ee6dec10f47714 (patch) | |
tree | 2f876b7d5375026034baf32324e94f8dda3d149e /scripts/build/lb_chroot_archives | |
parent | 8c17b89ad903693d7f1bc208cdb1d0b55768c6fe (diff) | |
download | vyos-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/build/lb_chroot_archives')
-rwxr-xr-x | scripts/build/lb_chroot_archives | 4 |
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 |