[SCM] debian-live/live-helper branch, master, updated. 1.0_a40-1-2-ge994ff8

Daniel Baumann daniel at debian.org
Tue Mar 11 16:34:17 UTC 2008


The following commit has been merged in the master branch:
commit e994ff87710dac3e248bbdceec57fc2670825ba0
Author: Daniel Baumann <daniel at debian.org>
Date:   Tue Mar 11 17:32:03 2008 +0100

    Correcting wrong logic on handling secure apt.

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

-- 
debian-live/live-helper



More information about the debian-live-changes mailing list