diff options
author | Daniel Baumann <daniel@debian.org> | 2008-03-11 17:32:03 +0100 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 19:01:50 +0100 |
commit | 7c99543227afecd6f00b2987f76b844c162e6ec4 (patch) | |
tree | 1cf1736663a419685d915bce5bd33a08c4c40b27 /helpers/lh_chroot_apt | |
parent | b222519217b7b720196b8bb1f98850a6e6638f34 (diff) | |
download | vyos-live-build-7c99543227afecd6f00b2987f76b844c162e6ec4.tar.gz vyos-live-build-7c99543227afecd6f00b2987f76b844c162e6ec4.zip |
Correcting wrong logic on handling secure apt.
Diffstat (limited to 'helpers/lh_chroot_apt')
-rwxr-xr-x | helpers/lh_chroot_apt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/helpers/lh_chroot_apt b/helpers/lh_chroot_apt index e90f5ecba..8f170a07e 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 |