summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_apt
diff options
context:
space:
mode:
Diffstat (limited to 'helpers/lh_chroot_apt')
-rwxr-xr-xhelpers/lh_chroot_apt8
1 files changed, 4 insertions, 4 deletions
diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt
index c80f22ff9..e234c39a0 100755
--- a/helpers/lh_chroot_apt
+++ b/helpers/lh_chroot_apt
@@ -133,21 +133,21 @@ case "${1}" in
then
case "${LH_APT}" in
apt|apt-get)
- echo "APT::Get::AllowUnauthenticated \"0\";" >> chroot/etc/apt/apt.conf
+ echo "APT::Get::AllowUnauthenticated \"true\";" >> chroot/etc/apt/apt.conf
;;
aptitude)
- echo "APT::Get::AllowUnauthenticated \"0\";" > chroot/etc/apt/apt.conf.d/secure
+ echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/secure
;;
esac
else
case "${LH_APT}" in
apt|apt-get)
- echo "APT::Get::AllowUnauthenticated \"1\";" >> chroot/etc/apt/apt.conf
+ echo "APT::Get::AllowUnauthenticated \"false\";" >> chroot/etc/apt/apt.conf
;;
aptitude)
- echo "APT::Get::AllowUnauthenticated \"1\";" > chroot/etc/apt/apt.conf.d/secure
+ echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/secure
;;
esac
fi