summaryrefslogtreecommitdiffstats
path: root/scripts/build/chroot_apt
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/build/chroot_apt')
-rwxr-xr-xscripts/build/chroot_apt14
1 files changed, 5 insertions, 9 deletions
diff --git a/scripts/build/chroot_apt b/scripts/build/chroot_apt
index d48da7ec4..c0d5fb146 100755
--- a/scripts/build/chroot_apt
+++ b/scripts/build/chroot_apt
@@ -64,12 +64,10 @@ case "${1}" in
case "${LB_APT_RECOMMENDS}" in
true)
echo "APT::Install-Recommends \"true\";" > chroot/etc/apt/apt.conf.d/00recommends
- echo "Aptitude::Recommends-Important \"true\";" >> chroot/etc/apt/apt.conf.d/00recommends
;;
false)
echo "APT::Install-Recommends \"false\";" > chroot/etc/apt/apt.conf.d/00recommends
- echo "Aptitude::Recommends-Important \"false\";" >> chroot/etc/apt/apt.conf.d/00recommends
;;
esac
@@ -77,12 +75,10 @@ case "${1}" in
case "${LB_APT_SECURE}" in
true)
echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/00secure
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"false\";" >> chroot/etc/apt/apt.conf.d/00secure
;;
false)
echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/00secure
- echo "Aptitude::CmdLine::Ignore-Trust-Violations \"true\";" >> chroot/etc/apt/apt.conf.d/00secure
;;
esac
@@ -221,22 +217,22 @@ EOF
# Creating lock file
Create_lockfile .lock
- # Deconfiguring aptitude ftp proxy
+ # Deconfiguring apt ftp proxy
rm -f chroot/etc/apt/apt.conf.d/00ftp-proxy
- # Deconfiguring aptitude http proxy
+ # Deconfiguring apt http proxy
rm -f chroot/etc/apt/apt.conf.d/00http-proxy
- # Deconfiguring aptitude pipeline
+ # Deconfiguring apt pipeline
rm -f chroot/etc/apt/apt.conf.d/00pipeline
- # Deconfiguring aptitude recommends
+ # Deconfiguring apt recommends
if [ "${LB_APT_RECOMMENDS}" = "true" ]
then
rm -f chroot/etc/apt/apt.conf.d/00recommends
fi
- # Deconfiguring aptitude secure
+ # Deconfiguring apt secure
if [ "${LB_APT_SECURE}" = "true" ]
then
rm -f chroot/etc/apt/apt.conf.d/00secure