From 7c99543227afecd6f00b2987f76b844c162e6ec4 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Tue, 11 Mar 2008 17:32:03 +0100 Subject: Correcting wrong logic on handling secure apt. --- helpers/lh_chroot_apt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt index e90f5ec..8f170a0 100755 --- a/helpers/lh_chroot_apt +++ b/helpers/lh_chroot_apt @@ -96,12 +96,12 @@ case "${1}" in # Configuring apt secure case "${LH_APT_SECURE}" in enabled) - echo "APT::Get::AllowUnauthenticated \"true\";" > chroot/etc/apt/apt.conf.d/00secure + 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 ;; disabled) - echo "APT::Get::AllowUnauthenticated \"false\";" > chroot/etc/apt/apt.conf.d/00secure + 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 -- cgit v1.0