summaryrefslogtreecommitdiff
path: root/helpers/lh_chroot_apt
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
committerDaniel Baumann <daniel@debian.org>2007-09-23 10:04:49 +0200
commit8762edaa61a21de7708d6293287e9eb306716578 (patch)
tree589606906e4e8966797f352ec63162cbb4016da0 /helpers/lh_chroot_apt
parentd3cf9b4d93906346645fa9640517bf3907c40345 (diff)
downloadvyos-live-build-8762edaa61a21de7708d6293287e9eb306716578.tar.gz
vyos-live-build-8762edaa61a21de7708d6293287e9eb306716578.zip
Adding live-helper 1.0~a4-1.
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