summaryrefslogtreecommitdiffstats
path: root/scripts/build/chroot_archives
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_archives')
-rwxr-xr-xscripts/build/chroot_archives13
1 files changed, 0 insertions, 13 deletions
diff --git a/scripts/build/chroot_archives b/scripts/build/chroot_archives
index 029afe7df..2ce12da6a 100755
--- a/scripts/build/chroot_archives
+++ b/scripts/build/chroot_archives
@@ -418,12 +418,6 @@ EOF
then
cp -f cache/indices.bootstrap/*Release* chroot/var/lib/apt/lists
fi
-
- if [ "${LB_APT}" = "aptitude" ] && [ ! -x /usr/bin/aptitude ]
- then
- Chroot chroot "apt-get ${APT_OPTIONS} update"
- Chroot chroot "apt-get ${APT_OPTIONS} install aptitude"
- fi
else # Get fresh indices
# Check local archive keys
if Find_files config/archives/*.key || \
@@ -452,13 +446,6 @@ EOF
done
fi
- # 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"
- fi
-
# Rebuild apt indices from scratch.
# Due to the fact that apt doesn't understand
# pinning on the fly, we need to manually remove