summaryrefslogtreecommitdiff
path: root/scripts/build/chroot_archives
diff options
context:
space:
mode:
authorDaniel Baumann <mail@daniel-baumann.ch>2014-11-10 19:48:53 +0100
committerDaniel Baumann <mail@daniel-baumann.ch>2014-11-10 19:48:53 +0100
commit61a166adea60c8f5500f7d2e300f84807b9b17ac (patch)
tree015b9a96510bdbf5c30bc827bc1b1575c12a5451 /scripts/build/chroot_archives
parenta157fbb3615b46f37e0ac6c926376559bbd415c5 (diff)
downloadvyos-live-build-61a166adea60c8f5500f7d2e300f84807b9b17ac.tar.gz
vyos-live-build-61a166adea60c8f5500f7d2e300f84807b9b17ac.zip
Applying patch from Gabriele Gristina <gabriele.gristina@gmail.com> to fix automated checks for using aptitude.
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-xscripts/build/chroot_archives4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index bae743972..457d60e7b 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -456,8 +456,8 @@ EOF
done
fi
- # Installing aptitude (FIXME)
- if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
+ # Installing aptitude
+ if [ "${LB_APT}" = "aptitude" ] && [ ! -x /chroot/usr/bin/aptitude ]
then
Chroot chroot "apt-get ${APT_OPTIONS} update"
Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"