Merge branch 'bugfix/git-https' into experimental
[tails-test.git] / config / chroot_local-hooks / 99-zzz_runtime_apt_proxy
blobf3435049b5606a2360abaa5bf31b257f4e4a9e8c
1 #!/bin/sh
3 set -e
5 cat > /etc/apt/apt.conf.d/0000runtime-proxy <<EOF
6 // Proxy through Polipo to torify outgoing APT HTTP connections.
7 // This setting must be overriden at build time by live-build's
8 // 00http-proxy configuration file.
9 // That's why it is created in a chroot local hook.
11 Acquire::http::Proxy "http://127.0.0.1:8118/";
12 EOF